????
| Current Path : /usr/lib/python2.7/site-packages/pip/_internal/commands/ |
| Current File : //usr/lib/python2.7/site-packages/pip/_internal/commands/download.pyc |
�
}�\]c @@ s� d d l m Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l
m Z d d l m
Z
d d l m Z d d l m Z d d
l m Z d d l m Z m Z d d l m Z e j e � Z d
e f d � � YZ d S( i ( t absolute_importN( t
cmdoptions( t RequirementCommand( t make_target_python( t Resolver( t RequirementPreparer( t RequirementSet( t RequirementTracker( t check_path_owner( t
ensure_dirt normalize_path( t
TempDirectoryt DownloadCommandc B@ s2 e Z d Z d Z d Z d Z d � Z d � Z RS( sL
Download packages from:
- PyPI (and other indexes) using requirement specifiers.
- VCS project urls.
- Local project directories.
- Local or remote source archives.
pip also supports downloading from "requirements files", which provide
an easy way to specify a whole environment to be downloaded.
t downloads
%prog [options] <requirement specifier> [package-index-options] ...
%prog [options] -r <requirements file> [package-index-options] ...
%prog [options] <vcs project url> ...
%prog [options] <local project path> ...
%prog [options] <archive url/path> ...s Download packages.c
O@ s� t t | � j | | � | j } | j t j � � | j t j � � | j t j � � | j t j � � | j t j
� � | j t j � � | j t j � � | j t j
� � | j t j � � | j t j � � | j t j � � | j t j � � | j t j � � | j t j � � | j t j � � | j t j � � | j d d d d d d d d d t j d
d �t j | � t j t j | j � } | j j d | � | j j d | � d S(
Ns -ds --dests --destination-dirs --destination-directoryt destt download_dirt metavart dirt defaultt helps Download packages into <dir>.i ( t superR t __init__t cmd_optst
add_optionR t constraintst requirementst build_dirt no_depst global_optionst no_binaryt only_binaryt
prefer_binaryt srct pret no_cleant require_hashest progress_bart no_build_isolationt
use_pep517t
no_use_pep517t ost curdirt add_target_python_optionst make_option_groupt index_groupt parsert insert_option_group( t selft argst kwR t
index_opts( ( s>