ok
Direktori : /proc/self/root/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/commands/ |
Current File : //proc/self/root/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/commands/download.pyc |
� Bu�_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 m Z d d l m Z d d l m Z d d l m Z m Z m Z d d l m Z d d l m Z e r� d d l m Z d d l m Z n e j 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] <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> ...c C@ s� | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j t j � � | j j d d d d d d d d d t j d d �t j | j � t j t j | j � } | j j d | � | j j d | j � d S( Ns -ds --dests --destination-dirs --destination-directoryt destt download_dirt metavart dirt defaultt helps Download packages into <dir>.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/python36/lib/python3.6/site-packages/pip/_internal/commands/download.pyt add_options* s6 c C@ s� t | _ g | _ t j | � t | j � | _ t | j � | j | � } t | � } | j d | d | d | � } | j p� | j } | j t � � } t | j d | d d d t �} | j | | | | � } | j d | d | d | d | d | d | j d t � } | j d | d | d | d | j � } | j | � | j | d t �} d j g | j j � D] } | j rm| j ^ qm� } | r�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 reqt downloaded( ( sP /opt/alt/python36/lib/python3.6/site-packages/pip/_internal/commands/download.pyt runN sR ( t __name__t __module__t __doc__t usageR/ R RZ ( ( ( sP /opt/alt/python36/lib/python3.6/site-packages/pip/_internal/commands/download.pyR s $( t __future__R t loggingR&