/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/commands
Edit: /opt/alt/python37/lib/python3.7/site-packages/pip/_internal/commands/download.pyc (4836B)
Ρς
iRec @@ s d d k l Z d d k Z d d k Z d d k l Z d d k l Z d d k l Z l
Z
d d k l Z d d k
l Z d d k l Z l Z l Z d d k l Z d d
k l Z e o$ d d k l Z d d k l Z n e i e Z d
e f d YZ d S( i ( t absolute_importN( t
cmdoptions( t make_target_python( t RequirementCommandt with_cleanup( t SUCCESS( t get_requirement_tracker( t
ensure_dirt normalize_patht write_output( t
TempDirectory( t MYPY_CHECK_RUNNING( t Values( t Listt DownloadCommandc B@ s, e Z d Z d Z d Z e 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.
s
%prog [options]
[package-index-options] ...
%prog [options] -r [package-index-options] ...
%prog [options] ...
%prog [options] ...
%prog [options] ...c
C@ sΣ | i i t i | i i t i | i i t i | i i t i | i i t i | i i t i | i i t i | i i t i
| i i t i | i i t i | i i t i
| i i t i | i i t i | i i t i | i i t i | i i d d d d d d d d d t i d
d t i | i t i t i | i } | i i d | | i i d | i d S(
Ns -ds --dests --destination-dirs --destination-directoryt destt download_dirt metavart dirt defaultt helps Download packages into .i ( t cmd_optst
add_optionR t constraintst requirementst build_dirt no_depst global_optionst no_binaryt only_binaryt
prefer_binaryt srct pret 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
index_opts( ( sP /opt/alt/python37/lib/python3.7/site-packages/pip/_internal/commands/download.pyt add_options* s6 c C@ sΈ t | _ g | _ t i | t | i | _ t | i | i | } t | } | i
d | d | d | } | i p | i } | i
t } t | i d | d d d t } | i | | | | } | i d | d | d | d | d
| d | i d t }
| i d
|
d
| d | d | i } | i | | i | d t } d i g }
| i i D] } | i o |
| i qrqr~
} | o t d | n t S( Nt optionst sessiont
target_pythont deletet kindt downloadt globally_managedt temp_build_dirt req_trackert finderR t
use_user_sitet preparert py_version_infot check_supported_wheelst s Successfully downloaded %s( t Truet ignore_installedt editablesR t check_dist_restrictionR R R t get_default_sessionR t _build_package_findert no_cleanR t
enter_contextR R
t get_requirementst make_requirement_preparert Falset
make_resolvert python_versiont trace_basic_infot resolvet joinR t valuest successfully_downloadedt nameR R ( R- R0 t argsR1 R2 R9 t build_deleteR8 t directoryt reqsR; t resolvert requirement_sett _[1]t reqt
downloaded( ( sP /opt/alt/python37/lib/python3.7/site-packages/pip/_internal/commands/download.pyt runN sR
$( t __name__t
__module__t __doc__t usageR/ R R[ ( ( ( sP /opt/alt/python37/lib/python3.7/site-packages/pip/_internal/commands/download.pyR s $( t
__future__R t loggingR&