Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3
ÝPf‚ ã @ sž d dl mZ d dlZd dlZd dlmZ d dlmZ d dlm Z d dl
mZ d dlm
Z
d dlmZmZ d d lmZ d d
lmZ ejeƒZG dd„ deƒZdS )
é )Úabsolute_importN)ÚCommandError)Ú
FormatControl)ÚRequirementSet)ÚRequirementCommand)Ú
cmdoptions)Ú
ensure_dirÚnormalize_path)ÚBuildDirectory)Úcheck_path_ownerc s4 e Zd ZdZdZdZdZ‡ fdd„Zdd„ Z‡ Z S ) ÚDownloadCommandaL
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.
Zdownloada%
%prog [options] [package-index-options] ...
%prog [options] -r [package-index-options] ...
%prog [options] [-e] ...
%prog [options] [-e] ...
%prog [options] ...zDownload packages.c
s\ t t| ƒj||Ž | j}|jtjƒ ƒ |jtjƒ ƒ |jtjƒ ƒ |jtj ƒ ƒ |jtj
ƒ ƒ |jtjƒ ƒ |jtjƒ ƒ |jtj
ƒ ƒ |jtjƒ ƒ |jtjƒ ƒ |jtjƒ ƒ |jtjƒ ƒ |jddddddtjdd� |jd d
d
d dd� |jdd
d
d dd� |jdddd dd� |jdddd dd� tjtj| jƒ}| jjd|ƒ | jjd|ƒ d S )Nz-dz--destz--destination-dirz--destination-directoryÚdownload_dirÚdirzDownload packages into .)ÚdestÚmetavarÚdefaultÚhelpz
--platformÚplatformz`Only download wheels compatible with . Defaults to the platform of the running system.z--python-versionÚpython_versiona& Only download wheels compatible with Python interpreter version . If not specified, then the current system interpreter minor version is used. A major version (e.g. '2') can be specified to match all minor revs of that major version. A minor version (e.g. '34') can also be specified.z--implementationÚimplementationzçOnly download wheels compatible with Python implementation , e.g. 'pp', 'jy', 'cp', or 'ip'. If not specified, then the current interpreter implementation is used. Use 'py' to force implementation-agnostic wheels.z--abiÚabizöOnly download wheels compatible with Python abi , e.g. 'pypy_41'. If not specified, then the current interpreter abi tag is used. Generally you will need to specify --implementation, --platform, and --python-version when using this option.r )Úsuperr Ú__init__Úcmd_optsZ
add_optionr ZconstraintsZeditableZrequirementsÚ build_dirZno_depsZglobal_optionsZ no_binaryZonly_binaryÚsrcZpreÚno_cleanÚrequire_hashesÚosÚcurdirZmake_option_groupZnon_deprecated_index_groupÚparserZinsert_option_group)ÚselfÚargsÚkwr Z
index_opts)Ú __class__© ú/usr/lib/python3.6/download.pyr * sb zDownloadCommand.__init__c C sŒ d|_ |jr|jg}nd }t|j|j|j|jgƒ}ttƒ tdgƒƒ}|rZ|j|krZt dƒ‚t
jj|j
ƒ|_
t|jƒ|_t|jƒ | j|ƒ�ø}| j|||j||j|jd�}|jp²|j }|jrÜt|jƒ rÜtjd|jƒ d |_t|j|d��Ž} t| |j
|jd|j||j|jd�}
| j|
||||| jd ƒ |
j �s2d S |
j!|ƒ dj"d d
„ |
j#D ƒƒ}|�rdtj$d|ƒ |j�st|
j%ƒ W d Q R X W d Q R X |
S )NTz:all:zÐ--only-binary=:all: must be set and --no-binary must not be set (or must be set to :none:) when restricting platform and interpreter constraints using --python-version, --platform, --abi, or --implementation.)ÚoptionsÚsessionr Úpython_versionsr r zÝ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.)Údelete)r Úsrc_dirr
Úignore_installedÚignore_dependenciesr( Úisolatedr ú c S s g | ]
}|j ‘qS r% )Úname)Ú.0Zreqr% r% r&