ó 9ÕÒTc@@s½dZddlmZddlZddlmZmZmZddlm Z ddl m Z m Z m Z d„Zdefd „ƒYZed d d d dd d dƒZedd dddded dƒZeddd dddded eƒZeddd dddddd dƒZeddd dddd d ƒZed!d"d d#ddddd d$ƒZed%d&d'd d(d)d*d d+ƒZed,d d-ddded eƒZed.d d/ddded eƒZed0d d1d2d3dd4d d5ƒZed6d d7d2d8dd9d d:ƒZed;d<d)d=d d>d2d?dd@d dAƒZedBd dCd2d3dd4d eƒZedDd dEd2d3dd4d eƒZedFd dGd2dHdIdJdKdLdMgdgddNd)dd dOƒZ edPd dQd2d3de d)d*d dRƒZ!edSd dTd2d3ddd)d*d dUƒZ#edVdWdXd dYd)dZde j$d d[ƒZ%ed\d d]d)dZddNdgd d^ƒZ&ed_d d`ddded daƒZ'edbdcd ddddNdgd)ded dfƒZ(edgdhd diddded eƒZ)edjd dkd)dZddNdgd eƒZ*edld dmddNdgd)dnd doƒZ+edpd dqddded drƒZ,edsd dtddNd)dudgd dvƒZ-edwd dqddxded eƒZ.edydzd d{ddNdgd)dnd d|ƒZ/ed}d d~ddxded eƒZ0edd d€ddded dƒZ1ed‚dƒd d„ddNdgd)d…d d†ƒZ2ed‡dˆd d‰ddNdgd)dŠd d‹ƒZ3edŒddŽdd dd)d‘de d d’ƒZ4ed“d d”ddd eƒZ5ed•d d”ddxde6d d–ƒZ7ed—d d˜de d)d‘d d™ƒZ8edšd d˜ddxd d›ƒZ9edœd dddd eƒZ:edždŸd d ddded d¡ƒZ;ed¢d£d¤d¥d d¦d)d‘d d§ƒZ<ed¨d d©ddNd)dªd d«ƒZ=ed¬d d­ddNd)dªd d®ƒZ>ed¯ddded d°ƒZ?ed±d d²ddded d³ƒZ@id´dµ6eeeeeeeeeeeeeee e-e!e#e8e9e@gdª6ZAid¶dµ6e%e&e'e(e)e*e+e,e.e/e0e1g dª6ZBdS(·sE 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 parse's general options twice internally, and shouldn't pass on state. To be consistent, all options will follow this design. i(tabsolute_importN(t OptionGroupt SUPPRESS_HELPtOption(tPyPI(tCA_BUNDLE_PATHtUSER_CACHE_DIRt src_prefixcC@s?t||dƒ}x%|dD]}|j|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_optiontmake(tgrouptparsert option_grouptoption((s4/usr/lib/python2.7/vendor-packages/pip/cmdoptions.pytmake_option_groupst OptionMakercB@s eZdZd„Zd„ZRS(s†Class that stores the args/kwargs that would be used to make an Option, for making them later, and uses deepcopy's to reset state.cO@s||_||_dS(N(targstkwargs(tselfRR((s4/usr/lib/python2.7/vendor-packages/pip/cmdoptions.pyt__init__"s cC@s1tj|jƒ}tj|jƒ}t||ŽS(N(tcopytdeepcopyRRR(Rt args_copyt kwargs_copy((s4/usr/lib/python2.7/vendor-packages/pip/cmdoptions.pyR &s(t__name__t __module__t__doc__RR (((s4/usr/lib/python2.7/vendor-packages/pip/cmdoptions.pyRs 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--log-explicit-levelstlog_explicit_levelss --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-vcst default_vcss--skip-requirements-regextskip_requirements_regexs--exists-actiont exists_actiontchoicetchoiceststitwtbtappendsPDefault action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup.s--certtcertsPath to alternate CA bundle.s --client-certt client_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).s--extra-index-urltextra_index_urlss@Extra URLs of package indexes to use in addition to --index-url.s --no-indextno_indexsAIgnore package index (only looking at --find-links URLs instead).s-fs --find-linkst find_linksturls§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.s-Ms --use-mirrorst use_mirrorss --mirrorstmirrorss--allow-externaltallow_externaltPACKAGEsCAllow the installation of a package even if it is externally hosteds--allow-all-externaltallow_all_externalsAAllow the installation of all packages that are externally hosteds--trusted-hostt trusted_hoststHOSTNAMEsKMark this host as trusted, even though it does not have valid or any HTTPS.s--no-allow-externalt store_falses--allow-unverifieds--allow-insecuretallow_unverifieds\Allow the installation of a package even if it is hosted in an insecure and unverifiable ways--no-allow-insecuretallow_all_insecures--process-dependency-linkstprocess_dependency_linkss*Enable the processing of dependency links.s-rs --requirementt requirementstfilesQInstall from the given requirements file. This option can be used multiple times.s-es --editablet editablesspath/urlskInstall a project in editable mode (i.e. setuptools "develop mode") from a local project path or a VCS url.s--srcs--sources --source-dirs--source-directorytsrc_dirtdirs˜Directory to check out editable projects into. The default in a virtualenv is "/src". The default for global installs is "/src".s --use-wheelt use_wheels--no-use-wheelsVDo not Find and prefer wheel archives when searching indexes and find-links locations.s --cache-dirt cache_dirsStore the cache data in .s--no-cache-dirsDisable the cache.s--download-cachetdownload_caches --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-optiontinstall_optionsR s"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-optiontglobal_optionssTExtra global options to be supplied to the setup.py call before the install command.s --no-cleans!Don't clean up build directories.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.sGeneral OptionsRsPackage Index Options(CRt __future__RRtoptparseRRRt pip.indexRt pip.locationsRRRRtobjectRthelp_tFalseR trequire_virtualenvR$R&R'R(R+R,R-R1R4R6R7R8R@tNoneRAt simple_urlRBtextra_index_urlRERFRHRIRJRLt trusted_hosttno_allow_externalt allow_unsafetno_allow_unsafeRRRSteditabletsrcRXtTruet no_use_wheelRYtno_cacheRZtno_depsR\R]R^tno_cleanR_t general_groupt index_group(((s4/usr/lib/python2.7/vendor-packages/pip/cmdoptions.pyt st