403 Forbidden


Disable Functions:
Path : /lib/python2.7/site-packages/pip/
File Upload :
Command :
Current File : //lib/python2.7/site-packages/pip/cmdoptions.pyc

�
r2Wc@@s�dZddlmZddlmZddlmZmZmZddl	Z	ddl
mZmZm
Z
mZddlmZddlmZmZdd	lmZd
�Zd�Zdd�Zeed
ddddddd�Zeeddddddedd�Zeedddddddede�Zeedddddddddd�Zeed d!dd"dddd#�Zeed$d%dd&dddddd'�Z eed(d)d*dd+d,d-dd.�Z!eed/dd0dddede�Z"eed1dd2d3d4dd5dd6�Z#eed7dd8d3d9dd:dd;�Z$eed<d=d,d>dd?d3d@ddAddB�Z%eedCddDd3d4dd5de�Z&eedEddFd3d4dd5de�Z'dG�Z(eedHddId3d4d,d-ddJ�Z)eedKddLd3d4ddd,d-ddM�Z*eedNdOdPddQd,dRdej+ddS�Z,dT�Z-eedUddVdddeddW�Z.dX�Z/dY�Z0eedZdd[dddede�Z1d\�Z2eed]dd[dd^dede�Z3d_�Z4eed`ddadd^dede�Z5eedbddcdddeddd�Z6de�Z7df�Z8dg�Z9eedhdidjdkddld,dmdeddn�Z:eedoddpddde;de�Z<eedqddpdd^de;ddr�Z=ds�Z>dt�Z?du�Z@dv�ZAdw�ZBeedxddyded,dmddz�ZCeed{ddydd^dd|�ZDeed}d~dddddedd��ZEeed�d�d�d�dd�d,dmdd��ZFeed�dd�dd�d,d�dd��ZGeed�dd�dd�d,d�dd��ZHeed�dddedd��ZIeed�dddedd��ZJeed�dd�dddedd��ZKeed�d�dd�ddde�ZLd��ZMeed�dd�dd�d�eMd3d�dd��ZNeed�dd�dddedd��ZOid�d�6eeeeee e!e"e#e$e%e&e'e(e2e)e*eCeDeKgd�6ZPid�d�6e,e-e.e/e6gd�6ZQid�d�6eQd�e0e1e3e4e5gd�6ZRdS(�sD
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.

i(tabsolute_import(tpartial(tOptionGroupt
SUPPRESS_HELPtOptionN(t
FormatControltfmt_ctl_handle_mutual_excludetfmt_ctl_no_binarytfmt_ctl_no_use_wheel(tPyPI(tUSER_CACHE_DIRt
src_prefix(t
STRONG_HASHEScC@s<t||d�}x"|dD]}|j|��qW|S(s�
    Return an OptionGroup object
    group  -- assumed to be dict with 'name' and 'options' keys
    parser -- an optparse Parser
    tnametoptions(Rt
add_option(tgrouptparsertoption_grouptoption((s2/usr/lib/python2.7/site-packages/pip/cmdoptions.pytmake_option_groupscC@s#|js|j}t|�ndS(N(t	use_wheeltformat_controlR(Rtcontrol((s2/usr/lib/python2.7/site-packages/pip/cmdoptions.pytresolve_wheel_no_use_binary$s		c@su�dkr|�n�fd�}dddg}tt||��rq|j}t|�tjddd�ndS(	s�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.
    c@st�|d�S(N(tgetattrtNone(tn(t
check_options(s2/usr/lib/python2.7/site-packages/pip/cmdoptions.pytgetname4st
build_optionstglobal_optionstinstall_optionsseDisabling all use of wheels due to the use of --build-options / --global-options / --install-options.t
stackleveliN(RtanytmapRRtwarningstwarn(RRRtnamesR((Rs2/usr/lib/python2.7/site-packages/pip/cmdoptions.pytcheck_install_build_global*s		
s-hs--helptdestthelptactions
Show help.s
--isolatedt
isolated_modet
store_truetdefaultsSRun pip in an isolated mode, ignoring environment variables and user configuration.s--require-virtualenvs--require-venvtrequire_venvs-vs	--verbosetverbosetcountsDGive more output. Option is additive, and can be used up to 3 times.s-Vs	--versiontversionsShow version and exit.s-qs--quiettquietsGive less output.s--logs
--log-files--local-logtlogtmetavartpaths Path to a verbose appending log.s
--no-inputtno_inputs--proxytproxyttypetstrts<Specify a proxy in the form [user:passwd@]proxy.server:port.s	--retriestretriestintisRMaximum number of retries each connection should attempt (default %default times).s	--timeouts--default-timeouttsecttimeouttfloatis2Set the socket timeout (default %default seconds).s
--default-vcstdefault_vcss--skip-requirements-regextskip_requirements_regexcC@s@tddddddddd	d
gdgdd
dddd�S(Ns--exists-actionR(t
exists_actionR8tchoicetchoiceststitwtbR-R*tappendR4R)sPDefault action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup.(R(((s2/usr/lib/python2.7/site-packages/pip/cmdoptions.pyRB�ss--certtcertsPath to alternate CA bundle.s
--client-certtclient_certskPath to SSL client certificate, a single file containing the private key and the certificate in PEM format.s-is--index-urls
--pypi-urlt	index_urltURLs4Base URL of Python Package Index (default %default).cC@s(tddddddddgd	d
�S(Ns--extra-index-urlR(textra_index_urlsR4RMR*RIR-R)s@Extra URLs of package indexes to use in addition to --index-url.(R(((s2/usr/lib/python2.7/site-packages/pip/cmdoptions.pytextra_index_url�ss
--no-indextno_indexsAIgnore package index (only looking at --find-links URLs instead).c
C@s+tdddddddgdd	d
d�S(Ns-fs--find-linksR(t
find_linksR*RIR-R4turlR)s�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(((s2/usr/lib/python2.7/site-packages/pip/cmdoptions.pyRQ�s	cC@s(tddddddgddd	t�S(
Ns--allow-externalR(tallow_externalR*RIR-R4tPACKAGER)(RR(((s2/usr/lib/python2.7/site-packages/pip/cmdoptions.pyRS�ss--allow-all-externaltallow_all_externalcC@s(tddddddddgd	d
�S(Ns--trusted-hostR(t
trusted_hostsR*RIR4tHOSTNAMER-R)sKMark this host as trusted, even though it does not have valid or any HTTPS.(R(((s2/usr/lib/python2.7/site-packages/pip/cmdoptions.pyttrusted_hostss--no-allow-externaltstore_falsec
C@s+tdddddddgdd	d
t�S(Ns--allow-unverifieds--allow-insecureR(tallow_unverifiedR*RIR-R4RTR)(RR(((s2/usr/lib/python2.7/site-packages/pip/cmdoptions.pytallow_unsafe+s	s--no-allow-insecuretallow_all_insecures--process-dependency-linkstprocess_dependency_linkss*Enable the processing of dependency links.c
C@s+tdddddddgdd	d
d�S(Ns-cs--constraintR(tconstraintsR*RIR-R4tfileR)s\Constrain versions using the given constraints file. This option can be used multiple times.(R(((s2/usr/lib/python2.7/site-packages/pip/cmdoptions.pyR^Js	c
C@s+tdddddddgdd	d
d�S(Ns-rs
--requirementR(trequirementsR*RIR-R4R_R)sQInstall from the given requirements file. This option can be used multiple times.(R(((s2/usr/lib/python2.7/site-packages/pip/cmdoptions.pyR`Us	c
C@s+tdddddddgdd	d
d�S(Ns-es
--editableR(t	editablesR*RIR-R4spath/urlR)skInstall a project in editable mode (i.e. setuptools "develop mode") from a local project path or a VCS url.(R(((s2/usr/lib/python2.7/site-packages/pip/cmdoptions.pyteditable`s	s--srcs--sources--source-dirs--source-directorytsrc_dirtdirs�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".s--use-wheelRs--no-use-wheels{Do not Find and prefer wheel archives when searching indexes and find-links locations. DEPRECATED in favour of --no-binary.cC@st||j�S(sGet a format_control object.(RR((tvaluesR((s2/usr/lib/python2.7/site-packages/pip/cmdoptions.pyt_get_format_control�scC@s/t|j|j�}t||j|j�dS(N(RReR(Rt	no_binarytonly_binary(Rtopt_strtvalueRtexisting((s2/usr/lib/python2.7/site-packages/pip/cmdoptions.pyt_handle_no_binary�scC@s/t|j|j�}t||j|j�dS(N(RReR(RRhRg(RRiRjRRk((s2/usr/lib/python2.7/site-packages/pip/cmdoptions.pyt_handle_only_binary�scC@s=tddddddtdddtt�t��d	d
�S(Ns--no-binaryR(RR*tcallbackR8R9R-R)sRDo 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.(RRlRtset(((s2/usr/lib/python2.7/site-packages/pip/cmdoptions.pyRg�s
cC@s=tddddddtdddtt�t��d	d
�S(Ns
--only-binaryR(RR*RnR8R9R-R)sGDo 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.(RRmRRo(((s2/usr/lib/python2.7/site-packages/pip/cmdoptions.pyRh�s
s--cache-dirt	cache_dirsStore the cache data in <dir>.s--no-cache-dirsDisable the cache.s	--no-depss--no-dependenciestignore_dependenciess#Don't install package dependencies.s-bs--builds--build-dirs--build-directoryt	build_dirs/Directory to unpack packages into and build in.s--install-optionR RIRs"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.s--global-optionRsTExtra global options to be supplied to the setup.py call before the install command.s
--no-cleans!Don't clean up build directories.s--presYInclude pre-release and development versions. By default, pip only finds stable versions.s--disable-pip-version-checktdisable_pip_version_checks{Don't periodically check PyPI to determine whether a new version of pip is available for download. Implied with --no-index.s-Zs--always-unziptalways_unzipcC@s�|jjsi|j_ny|jdd�\}}Wn"tk
r[|jd|�nX|tkr�|jd|djt�f�n|jjj|g�j|�dS(skGiven a value spelled "algo:digest", append the digest to a list
    pointed to in a dict by the algo name.t:isTArguments to %s must be a hash name followed by a value, like --hash=sha256:abcde...s&Allowed hash algorithms for %s are %s.s, N(	Rethashestsplitt
ValueErrorterrorRtjoint
setdefaultRI(RRiRjRtalgotdigest((s2/usr/lib/python2.7/site-packages/pip/cmdoptions.pyt_merge_hashs
		s--hashRvRntstringsgVerify that the package's archive matches this hash before installing. Example: --hash=sha256:abcdef...s--require-hashestrequire_hashess�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.sGeneral OptionsR
sPackage Index Optionss4Package Index Options (including deprecated options)(St__doc__t
__future__Rt	functoolsRtoptparseRRRR$t	pip.indexRRRRt
pip.modelsR	t
pip.locationsR
Rtpip.utils.hashesRRRRR'thelp_tFalseR+trequire_virtualenvR/R1R2R3R6R7R;R>R@RARBRJRKt
simple_urlRLRORPRQRSRURXtno_allow_externalR[tno_allow_unsafeR]R^R`RbtsrctTrueRtno_use_wheelRfRlRmRgRhRptno_cachetno_depsRrR Rtno_cleantpreRsRtR~thashR�t
general_grouptnon_deprecated_index_grouptindex_group(((s2/usr/lib/python2.7/site-packages/pip/cmdoptions.pyt<module>	sl"																																
														
	
																



404 Not Found
[ LogOut ]