Server : Apache System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : andertr9 ( 1047) PHP Version : 8.2.18 Disable Function : NONE Directory : /usr/lib/python2.7/site-packages/pip/commands/ |
Upload File : |
� r2Wc @@ 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 m Z d d l m Z d d l m Z e j e � Z d e f d � � YZ d S( i ( t absolute_importN( t RequirementSet( t RequirementCommand( t cmdoptions( t ensure_dirt normalize_path( t BuildDirectory( t check_path_ownert 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] [-e] <vcs project url> ... %prog [options] [-e] <local project path> ... %prog [options] <archive url/path> ...s Download packages.c O@ sy 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 d d d d d d d d d t j d d �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 editablet requirementst build_dirt no_depst global_optionst no_binaryt only_binaryt srct pret no_cleant require_hashest ost curdirt make_option_groupt non_deprecated_index_groupt parsert insert_option_group( t selft argst kwR t index_opts( ( s9 /usr/lib/python2.7/site-packages/pip/commands/download.pyR ( s2 c C@ s� t | _ t j j | j � | _ t | j � | _ t | j � | j | � �]} | j | | � } | j ps | j } | j r� t | j � r� t j d | j � d | _ n t | j d | ��� } t d | d | j d | j d t d | j d | d | j d | j � } | j | | | | | | j d � | j s>d S| j | � d j g | j D] } | j ^ q[� } | r�t j d | � n | j s�| j � n Wd QXWd QX| S( Ns� The directory '%s' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.t deleteR t src_dirR t ignore_installedt ignore_dependenciest sessiont isolatedR t s Successfully downloaded %s( t TrueR, R t patht abspathR+ R R R t _build_sessiont _build_package_finderR R t cache_dirR t loggert warningt NoneR R R- t isolated_modeR t populate_requirement_sett namet has_requirementst prepare_filest joint successfully_downloadedt infot cleanup_files( R&