Your IP : 3.133.145.168


Current Path : /opt/alt/python34/lib/python3.4/site-packages/pip/__pycache__/
Upload File :
Current File : //opt/alt/python34/lib/python3.4/site-packages/pip/__pycache__/cmdoptions.cpython-34.pyc

�
�Rer$�@sJdZddlZddlmZmZmZddlmZdd�ZGdd�de	�Z
e
d	d
ddd
ddd�Ze
ddddd
dddde�Ze
ddddd
ddddd�Z
e
ddddd
ddd�Ze
dddd d
ddddd!�Ze
d"dd#d$d%dd&�Ze
d'dd(d
dddde�Ze
d)d*dd+d$d%dedd,�Ze
d-dd.d
dddde�Ze
d/dd0d1d2dd3dd4�Ze
d5d6d$d7dd8d1d9dd:dd;�Ze
d<dd=d1d2dd3de�Ze
d>dd?d1d2dd3de�Ze
d@ddAd1dBdCdDdEdFdGgdgd
dHd$d
ddI�Ze
dJddKd1d2dd3d$d%ddL�Ze
dMdNdOddPd$dQddRddS�Ze
dTddUd$dQd
dHdgddV�Ze
dWddXd
dddddY�Ze
dZd[dd\d
dHdgd$d]dd^�Ze
d_d`ddad
dddde�Ze
dbddcd$dQd
dHdgde�Ze
dddded
dHdgd$dfddg�Z e
dhddid
dddddj�Z!e
dkddid
dlddde�Z"e
dmdnddod
dHdgd$dfddp�Z#e
dqddrd
dlddde�Z$e
dsddtd
dddddu�Z%e
dvdwddxd
dHdgd$dyddz�Z&e
d{dd|d
dde�Z'e
d}dd|d
dldd~dd�Z(e
d�dd�d$d�dddd��Z)e
d�d�dd�d
ddddd��Z*e
d�d�d�d�dd�d$d�dd��Z+e
d�dd�d
dHd$d�dd��Z,e
d�dd�d
dHd$d�dd��Z-e
d�d
ddddd��Z.id�d�6eee
eeeeeeeeeeeegd�6Z/id�d�6eeeeeee e!e"e#e$e%gd�6Z0dS)�aE
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.

�N)�OptionGroup�
SUPPRESS_HELP�Option)�default_log_filecCs?t||d�}x%|dD]}|j|j��qW|S)z�
    Return an OptionGroup object
    group  -- assumed to be dict with 'name' and 'options' keys
    parser -- an optparse Parser
    �name�options)r�
add_option�make)�group�parser�option_group�option�r�)/tmp/pip-ztkk0jow-build/pip/cmdoptions.py�make_option_groupsrc@s.eZdZdZdd�Zdd�ZdS)�OptionMakerz�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.cOs||_||_dS)N)�args�kwargs)�selfrrrrr�__init__s	zOptionMaker.__init__cCs1tj|j�}tj|j�}t||�S)N)�copy�deepcopyrrr)r�	args_copy�kwargs_copyrrrr	 szOptionMaker.makeN)�__name__�
__module__�__qualname__�__doc__rr	rrrrrsrz-hz--help�dest�help�actionz
Show help.z--require-virtualenvz--require-venv�require_venv�
store_true�defaultFz-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�quietzGive less output.z--log�log�metavar�pathzAPath to a verbose appending log. This log is inactive by default.z--log-explicit-levels�log_explicit_levelsz
--log-filez--local-log�log_filezhPath to a verbose non-appending log, that only logs failures. This log is active by default at %default.z
--no-input�no_inputz--proxy�proxy�type�str�z<Specify a proxy in the form [user:passwd@]proxy.server:port.z	--timeoutz--default-timeout�sec�timeout�float�z2Set the socket timeout (default %default seconds).z
--default-vcs�default_vcsz--skip-requirements-regex�skip_requirements_regexz--exists-action�
exists_action�choice�choices�s�i�w�b�appendzPDefault action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup.z--cert�certzPath to alternate CA bundle.z-iz--index-urlz
--pypi-url�	index_url�URLzhttps://pypi.python.org/simple/z4Base URL of Python Package Index (default %default).z--extra-index-url�extra_index_urlsz@Extra URLs of package indexes to use in addition to --index-url.z
--no-index�no_indexzAIgnore package index (only looking at --find-links URLs instead).z-fz--find-links�
find_links�urlz�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.z-Mz
--use-mirrors�use_mirrorsz	--mirrors�mirrorsz--allow-external�allow_external�PACKAGEz1Allow the installation of externally hosted filesz--allow-all-external�allow_all_externalz5Allow the installation of all externally hosted filesz--no-allow-external�store_falsez--allow-unverifiedz--allow-insecure�allow_unverifiedz9Allow the installation of insecure and unverifiable filesz--no-allow-insecure�allow_all_insecurez--process-dependency-links�process_dependency_linksz*Enable the processing of dependency links.z-rz
--requirement�requirements�filezQInstall from the given requirements file. This option can be used multiple times.z--use-wheel�	use_wheelz--no-use-wheelTzVDo not Find and prefer wheel archives when searching indexes and find-links locations.z--download-cache�download_cache�dirz#Cache downloaded packages in <dir>.z	--no-depsz--no-dependencies�ignore_dependenciesz#Don't install package dependencies.z-bz--buildz--build-dirz--build-directory�	build_dirz/Directory to unpack packages into and build in.z--install-option�install_optionsra"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.z--global-option�global_optionszTExtra global options to be supplied to the setup.py call before the install command.z
--no-cleanz!Don't clean up build directories.zGeneral OptionsrzPackage Index Options)1rr�optparserrr�
pip.locationsrr�objectr�help_�require_virtualenvr$r&r'r(r+r,r-r.r3r6r7r8r@rA�extra_index_urlrDrErGrHrIrK�no_allow_external�allow_unsafe�no_allow_unsaferOrPrR�no_use_wheelrS�no_depsrVrWrX�no_clean�
general_group�index_grouprrrr�<module>	s																																																


?>