File "install.cpython-36.pyc"
Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/usr/lib/python3.6/site-packages/pip/commands/__pycache__/install.cpython-36.pyc
File size: 10.19 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit
3
PfqG @ s( d dl mZ d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlm Z yd dl
Z
W n ek
rt dZ
Y nX d dlm
Z
d dlmZ d dlmZmZ d dlmZmZmZ d dlmZ d d lmZmZ d d
lmZ d dlmZ d dl m!Z! d d
l"m#Z#m$Z$ ej%e&Z'G dd deZ(dd Z)dS ) )absolute_importN)path)RequirementSet)RequirementCommand)virtualenv_no_globaldistutils_scheme)InstallationErrorCommandErrorPreviousBuildDirError)
cmdoptions)
ensure_dirget_installed_version)BuildDirectory)RemovedInPip10Warning)check_path_owner)
WheelCacheWheelBuilderc s4 e Zd ZdZdZdZdZ fddZdd Z Z S ) InstallCommandaI
Install packages from:
- PyPI (and other indexes) using requirement specifiers.
- VCS project urls.
- Local project directories.
- Local or remote source archives.
pip also supports installing from "requirements files", which provide
an easy way to specify a whole environment to be installed.
installa%
%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> ...zInstall packages.c
s0 t t| j|| | j}|jtj |jtj |jtj |jtj |jddddd dd |jddd d
ddd dd |jtj
|jd
ddddd |jdddddgdd |jddddd |jdddddd |jtj |jtj |jtj
|jtj |jd d!dd"d |jd#d$dd%d |jd&d'dd d(d |jd)d*d+d d,d |jd-d.dd d/d |jd0dd1d2d3d4 |jd5d6d1d7d8 |jtj |jtj |jtj |jtj |jtj |jtj |jtj tjtj| j}| jjd9| | jjd9| d S ):Nz-tz--target
target_dirdirzInstall packages into <dir>. By default this will not replace existing files/folders in <dir>. Use --upgrade to replace existing packages in <dir> with new versions.)destmetavardefaulthelpz-dz
--downloadz--download-dirz--download-directorydownload_dirz`Download packages into <dir> instead of installing them, regardless of what's already installed.z-Uz --upgradeupgrade
store_truezUpgrade all specified packages to the newest available version. The handling of dependencies depends on the upgrade-strategy used.)r actionr z--upgrade-strategyupgrade_strategyZeagerzonly-if-neededa3 Determines how dependency upgrading should be handled. "eager" - dependencies are upgraded regardless of whether the currently installed version satisfies the requirements of the upgraded package(s). "only-if-needed" - are upgraded only when they do not satisfy the requirements of the upgraded package(s).)r r choicesr z--force-reinstallforce_reinstallzKWhen upgrading, reinstall all packages even if they are already up-to-date.z-Iz--ignore-installedignore_installedz5Ignore the installed packages (reinstalling instead).z--user
use_user_sitezInstall to the Python user install directory for your platform. Typically ~/.local/, or %APPDATA%\Python on Windows. (See the Python documentation for site.USER_BASE for full details.)z--eggas_eggzInstall packages as eggs, not 'flat', like pip normally does. This option is not about installing *from* eggs. (WARNING: Because this option overrides pip's normal install logic, requirements files may not behave as expected.)z--root root_pathz=Install everything relative to this alternate root directory.z--strip-file-prefixstrip_file_prefixprefixz5Strip given prefix from script paths in wheel RECORD.z--prefixprefix_pathzIInstallation prefix where lib, bin and other top-level folders are placedz --compilecompileTzCompile py files to pyc)r r r r z--no-compileZstore_falsezDo not compile py files to pyc)r r r r )superr __init__cmd_optsZ
add_optionr ZconstraintsZeditableZrequirements build_dirsrcignore_requires_pythonZno_depsinstall_optionsglobal_optionsZ use_wheelZno_use_wheelZ no_binaryZonly_binaryZpreno_cleanrequire_hashesZmake_option_groupZindex_groupparserZinsert_option_group)selfargskwr, Z
index_opts) __class__ /usr/lib/python3.6/install.pyr+ 8 s zInstallCommand.__init__c &