403 Forbidden


Disable Functions:
Path : /lib/python3.6/site-packages/pip/__pycache__/
File Upload :
Command :
Current File : //lib/python3.6/site-packages/pip/__pycache__/cmdoptions.cpython-36.pyc

3

�υ_Z@�@sndZddlmZddlmZddlmZmZmZddl	Z	ddl
mZmZm
Z
mZddlmZddlmZmZdd	lmZd
d�Zdd
�Zd�dd�Zeedddddd�Zeedddddd�Zeeddddded�Zeeddd d!dd"d�Zeed#d$d%dd&d�Zeed'd(d)d!dd*d�Zeed+d,d-d.d/d0d1�Zeed2d3dded�Z eed4d5d6d7d8d9�Z!eed:d;d<d=d>d9�Z"eed?d@dAdBdCdDdEdF�Z#eedGdHd6d7ed9�Z$eedIdJd6d7ed9�Z%dKdL�Z&eedMdNd6d/dOdP�Z'eedQdRd6dd/dSdT�Z(eedUdVdWdXdYej)dZd[�Z*d\d]�Z+eed^d_ddd`d�Z,dadb�Z-dcdd�Z.eededfdded�Z/dgdh�Z0eedidfdjded�Z1dkdl�Z2eedmdndjded�Z3eedodpdddqd�Z4drds�Z5dtdu�Z6dvdw�Z7eedxdydzd{d|d}ed~d[�	Z8eedd�dd�ed�Z9eed�d�djd�d�d�Z:d�d��Z;d�d��Z<d�d��Z=d�d��Z>d�d��Z?eed�d�ed}d�d��Z@eed�d�djd�d�ZAeed�d�d�ddd�d�ZBeed�d�d�d�d�d}d�d1�ZCeed�d�dd�d�ZDeed�d�d�d�d�d��ZEeed�d�d�d�d�d��ZFeed�ddd�d��ZGeed�ddd�d��ZHeed�d�ddd�d�ZIeed�d�d�ded�ZJd�d��ZKeed�d�d�eKd�d�d��ZLeed�d�ddd�d�ZMd�eeeeeeee e!e"e#e$e%e&e0e'e(e@eAeIgd��ZNd�e*e+e,e-e4gd��ZOd�eOd�e.e/e1e2e3gd��ZPdS)�aD
shared options and groups

The principle here is to define options once, but *not* instantiate them
globally. One reason being that options with action='append' can carry state
between parses. pip parses general options twice internally, and shouldn't
pass on state. To be consistent, all options will follow this design.

�)�absolute_import)�partial)�OptionGroup�
SUPPRESS_HELP�OptionN)�
FormatControl�fmt_ctl_handle_mutual_exclude�fmt_ctl_no_binary�fmt_ctl_no_use_wheel)�PyPI)�USER_CACHE_DIR�
src_prefix)�
STRONG_HASHEScCs0t||d�}x|dD]}|j|��qW|S)z�
    Return an OptionGroup object
    group  -- assumed to be dict with 'name' and 'options' keys
    parser -- an optparse Parser
    �name�options)rZ
add_option)�group�parserZoption_group�option�r� /usr/lib/python3.6/cmdoptions.py�make_option_groupsrcCs|js|j}t|�dS)N)�	use_wheel�format_controlr
)r�controlrrr�resolve_wheel_no_use_binary$srcsP�dkr|��fdd�}dddg}tt||��rL|j}t|�tjddd	�dS)
z�Disable wheels if per-setup.py call options are set.

    :param options: The OptionParser options to update.
    :param check_options: The options to check, if not supplied defaults to
        options.
    Ncst�|d�S)N)�getattr)�n)�
check_optionsrr�getname4sz+check_install_build_global.<locals>.getnameZ
build_options�global_options�install_optionszeDisabling all use of wheels due to the use of --build-options / --global-options / --install-options.�)�
stacklevel)�any�maprr	�warnings�warn)rrr�namesrr)rr�check_install_build_global*s
r(z-hz--help�helpz
Show help.)�dest�actionr)z
--isolated�
isolated_mode�
store_trueFzSRun pip in an isolated mode, ignoring environment variables and user configuration.)r*r+�defaultr)z--require-virtualenvz--require-venvZrequire_venvz-vz	--verbose�verbose�countzDGive more output. Option is additive, and can be used up to 3 times.z-Vz	--version�versionzShow version and exit.z-qz--quiet�quietz�Give less output. Option is additive, and can be used up to 3 times (corresponding to WARNING, ERROR, and CRITICAL logging levels).z--logz
--log-filez--local-log�log�pathz Path to a verbose appending log.)r*�metavarr)z
--no-input�no_inputz--proxy�proxy�str�z<Specify a proxy in the form [user:passwd@]proxy.server:port.)r*�typer.r)z	--retries�retries�int�zRMaximum number of retries each connection should attempt (default %default times).z	--timeoutz--default-timeoutZsec�timeout�float�z2Set the socket timeout (default %default seconds).)r5r*r:r.r)z
--default-vcs�default_vcsz--skip-requirements-regex�skip_requirements_regexc
Cs"tddddddddggd	d
dd�S)
Nz--exists-action�
exists_actionZchoice�s�i�w�b�a�appendr+zYDefault action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup, (a)bort.)r*r:�choicesr.r+r5r))rrrrrrC�srCz--cert�certzPath to alternate CA bundle.)r*r:r5r)z
--client-cert�client_certzkPath to SSL client certificate, a single file containing the private key and the certificate in PEM format.)r*r:r.r5r)z-iz--index-urlz
--pypi-url�	index_url�URLz�Base URL of Python Package Index (default %default). This should point to a repository compliant with PEP 503 (the simple repository API) or a local directory laid out in the same format.)r*r5r.r)cCstddddgdd�S)Nz--extra-index-urlZextra_index_urlsrNrIzmExtra URLs of package indexes to use in addition to --index-url. Should follow the same rules as --index-url.)r*r5r+r.r))rrrrr�extra_index_url�srOz
--no-index�no_indexzAIgnore package index (only looking at --find-links URLs instead).c	Cstddddgddd�S)Nz-fz--find-links�
find_linksrIZurlz�If a url or path to an html file, then parse for links to archives. If a local path or file:// url that's a directory, then look for archives in the directory listing.)r*r+r.r5r))rrrrrrQ�srQcCstdddgdtd�S)Nz--allow-external�allow_externalrI�PACKAGE)r*r+r.r5r))rrrrrrrRsrRz--allow-all-external�allow_all_externalcCstddddgdd�S)Nz--trusted-hostZ
trusted_hostsrIZHOSTNAMEzKMark this host as trusted, even though it does not have valid or any HTTPS.)r*r+r5r.r))rrrrr�trusted_hostsrUz--no-allow-externalZstore_falsec	Cstddddgdtd�S)Nz--allow-unverifiedz--allow-insecureZallow_unverifiedrIrS)r*r+r.r5r))rrrrrr�allow_unsafe3srVz--no-allow-insecureZallow_all_insecurez--process-dependency-links�process_dependency_linksz*Enable the processing of dependency links.c	Cstddddgddd�S)Nz-cz--constraint�constraintsrI�filez\Constrain versions using the given constraints file. This option can be used multiple times.)r*r+r.r5r))rrrrrrXRsrXc	Cstddddgddd�S)Nz-rz
--requirement�requirementsrIrYzQInstall from the given requirements file. This option can be used multiple times.)r*r+r.r5r))rrrrrrZ]srZc	Cstddddgddd�S)Nz-ez
--editableZ	editablesrIzpath/urlzkInstall a project in editable mode (i.e. setuptools "develop mode") from a local project path or a VCS url.)r*r+r.r5r))rrrrr�editablehsr[z--srcz--sourcez--source-dirz--source-directoryZsrc_dir�dirz�Directory to check out editable projects into. The default in a virtualenv is "<venv path>/src". The default for global installs is "<current dir>/src".z--use-wheelrTz--no-use-wheelz{Do not Find and prefer wheel archives when searching indexes and find-links locations. DEPRECATED in favour of --no-binary.cCst||j�S)zGet a format_control object.)rr*)�valuesrrrr�_get_format_control�sr^cCs"t|j|j�}t||j|j�dS)N)rr]r*r�	no_binary�only_binary)r�opt_str�valuer�existingrrr�_handle_no_binary�srdcCs"t|j|j�}t||j|j�dS)N)rr]r*rr`r_)rrarbrrcrrr�_handle_only_binary�srec	Cs tdddtdtt�t��dd�S)Nz--no-binaryr�callbackr8aRDo not use binary packages. Can be supplied multiple times, and each time adds to the existing value. Accepts either :all: to disable all binary packages, :none: to empty the set, or one or more package names with commas between them. Note that some packages are tricky to compile and may fail to install when this option is used on them.)r*r+rfr:r.r))rrdr�setrrrrr_�s
r_c	Cs tdddtdtt�t��dd�S)Nz
--only-binaryrrfr8aGDo not use source packages. Can be supplied multiple times, and each time adds to the existing value. Accepts either :all: to disable all source packages, :none: to empty the set, or one or more package names with commas between them. Packages without binary distributions will fail to install when this option is used on them.)r*r+rfr:r.r))rrerrgrrrrr`�s
r`z--cache-dir�	cache_dirzStore the cache data in <dir>.)r*r.r5r)z--no-cache-dirzDisable the cache.z	--no-depsz--no-dependenciesZignore_dependenciesz#Don't install package dependencies.z-bz--buildz--build-dirz--build-directory�	build_dirz/Directory to unpack packages into and build in.z--ignore-requires-python�ignore_requires_pythonz'Ignore the Requires-Python information.z--install-optionr rIra"Extra arguments to be supplied to the setup.py install command (use like --install-option="--install-scripts=/usr/local/bin"). Use multiple --install-option options to pass multiple options to setup.py install. If you are using an option with a directory path, be sure to use absolute path.)r*r+r5r)z--global-optionrzTExtra global options to be supplied to the setup.py call before the install command.z
--no-cleanz!Don't clean up build directories.)r+r.r)z--prezYInclude pre-release and development versions. By default, pip only finds stable versions.z--disable-pip-version-check�disable_pip_version_checkz{Don't periodically check PyPI to determine whether a new version of pip is available for download. Implied with --no-index.z-Zz--always-unzip�always_unzipc
Cs�|jjsi|j_y|jdd�\}}Wn"tk
rF|jd|�YnX|tkrh|jd|djt�f�|jjj|g�j|�dS)zkGiven a value spelled "algo:digest", append the digest to a list
    pointed to in a dict by the algo name.�:�zTArguments to %s must be a hash name followed by a value, like --hash=sha256:abcde...z&Allowed hash algorithms for %s are %s.z, N)	r]�hashes�split�
ValueError�errorr�join�
setdefaultrI)rrarbrZalgoZdigestrrr�_merge_hashsruz--hashrorf�stringzgVerify that the package's archive matches this hash before installing. Example: --hash=sha256:abcdef...)r*r+rfr:r)z--require-hashes�require_hashesz�Require a hash to check each requirement against, for repeatable installs. This option is implied when any package in a requirements file has a --hash option.zGeneral Options)rrzPackage Index Optionsz4Package Index Options (including deprecated options))N)Q�__doc__Z
__future__r�	functoolsrZoptparserrrr%Z	pip.indexrrr	r
Z
pip.modelsrZ
pip.locationsrr
Zpip.utils.hashesrrrr(Zhelp_r,Zrequire_virtualenvr/r1r2r3r6r7r;r>rArBrCrKrLZ
simple_urlrMrOrPrQrRrTrUZno_allow_externalrVZno_allow_unsaferWrXrZr[�srcrZno_use_wheelr^rdrer_r`rhZno_cacheZno_depsrirjr rZno_cleanZprerkrlru�hashrwZ
general_groupZnon_deprecated_index_groupZindex_grouprrrr�<module>	sr









404 Not Found
[ LogOut ]