ó
^\kdc           @   sS  d  Z  d d l Z d d l m Z m Z m Z d d l m Z m Z d „  Z	 d e
 f d „  ƒ  YZ e d d	 d
 d d d d d ƒZ e d d d
 d d d d e d e ƒZ e d d d
 d d d d d d d ƒZ e d d d
 d d d d d ƒZ e d d d
 d d d d d d d  ƒZ e d! d
 d" d# d$ d d% ƒZ e d& d
 d' d d d e d e ƒZ e d( d) d
 d* d# d$ d e d d+ ƒZ e d, d
 d- d d d e d e ƒZ e d. d
 d/ d0 d1 d d2 d d3 ƒZ e d4 d5 d# d6 d
 d7 d0 d8 d d9 d d: ƒZ e d; d
 d< d0 d1 d d2 d e ƒZ e d= d
 d> d0 d1 d d2 d e ƒZ e d? d
 d@ d0 dA dB dC dD dE dF g d g  d dG d# d d dH ƒZ e dI d
 dJ d0 d1 d d2 d# d$ d dK ƒZ e dL dM dN d
 dO d# dP d dQ d dR ƒZ e dS d
 dT d# dP d dG d g  d dU ƒZ e dV d
 dW d d d e d dX ƒZ e dY dZ d
 d[ d dG d g  d# d\ d d] ƒZ e d^ d_ d
 d` d d d e d e ƒZ  e da d
 db d# dP d dG d g  d e ƒZ! e dc d
 dd d dG d g  d# de d df ƒZ" e dg d
 dh d d d e d di ƒZ# e dj d
 dh d dk d e d e ƒZ$ e dl dm d
 dn d dG d g  d# de d do ƒZ% e dp d
 dq d dk d e d e ƒZ& e dr d
 ds d d d e d dt ƒZ' e du dv d
 dw d dG d g  d# dx d dy ƒZ( e dz d
 d{ d d d e ƒZ) e d| d
 d{ d dk d e* d d} ƒZ+ e d~ d
 d d# d€ d d d d� ƒZ- e d‚ dƒ d
 d„ d d d e d d… ƒZ. e d† d‡ dˆ d‰ d
 dŠ d# d€ d e d d‹ ƒZ/ e dŒ d
 d� d dG d# dŽ d d� ƒZ0 e d� d
 d‘ d dG d# dŽ d d’ ƒZ1 e d“ d d d e d d” ƒZ2 i d• d– 6e e e e e e e e e e e e e e e g dŽ 6Z3 i d— d– 6e e e e e  e! e" e# e$ e% e& e' g dŽ 6Z4 d S(˜   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ÿÿÿÿN(   t   OptionGroupt   SUPPRESS_HELPt   Option(   t   build_prefixt   default_log_filec         C   s?   t  | |  d ƒ } x% |  d D] } | j | j ƒ  ƒ q W| S(   s‡   
    Return an OptionGroup object
    group  -- assumed to be dict with 'name' and 'options' keys
    parser -- an optparse Parser
    t   namet   options(   R    t
   add_optiont   make(   t   groupt   parsert   option_groupt   option(    (    s5   /var/www/testScraper/venv/build/pip/pip/cmdoptions.pyt   make_option_group   s    t   OptionMakerc           B   s    e  Z d  Z d „  Z d „  Z RS(   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.c         O   s   | |  _  | |  _ d  S(   N(   t   argst   kwargs(   t   selfR   R   (    (    s5   /var/www/testScraper/venv/build/pip/pip/cmdoptions.pyt   __init__   s    	c         C   s1   t  j |  j ƒ } t  j |  j ƒ } t | | Ž  S(   N(   t   copyt   deepcopyR   R   R   (   R   t	   args_copyt   kwargs_copy(    (    s5   /var/www/testScraper/venv/build/pip/pip/cmdoptions.pyR       s    (   t   __name__t
   __module__t   __doc__R   R   (    (    (    s5   /var/www/testScraper/venv/build/pip/pip/cmdoptions.pyR      s   	s   -hs   --helpt   destt   helpt   actions
   Show help.s   --require-virtualenvs   --require-venvt   require_venvt
   store_truet   defaults   -vs	   --verboset   verboset   counti    sD   Give more output. Option is additive, and can be used up to 3 times.s   -Vs	   --versiont   versions   Show version and exit.s   -qs   --quiett   quiets   Give less output.s   --logt   logt   metavart   pathsA   Path to a verbose appending log. This log is inactive by default.s   --log-explicit-levelst   log_explicit_levelss
   --log-files   --local-logt   log_filesh   Path to a verbose non-appending log, that only logs failures. This log is active by default at %default.s
   --no-inputt   no_inputs   --proxyt   proxyt   typet   strt    s<   Specify a proxy in the form [user:passwd@]proxy.server:port.s	   --timeouts   --default-timeoutt   sect   timeoutt   floati   s2   Set the socket timeout (default %default seconds).s   --default-vcst   default_vcss   --skip-requirements-regext   skip_requirements_regexs   --exists-actiont   exists_actiont   choicet   choicest   st   it   wt   bt   appendsP   Default action when a path already exists: (s)witch, (i)gnore, (w)ipe, (b)ackup.s   --certt   certs   Path to alternate CA bundle.s   -is   --index-urls
   --pypi-urlt	   index_urlt   URLs   https://pypi.python.org/simple/s4   Base URL of Python Package Index (default %default).s   --extra-index-urlt   extra_index_urlss@   Extra URLs of package indexes to use in addition to --index-url.s
   --no-indext   no_indexsA   Ignore package index (only looking at --find-links URLs instead).s   -fs   --find-linkst
   find_linkst   urls§   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	   --mirrorst   mirrorss   --allow-externalt   allow_externalt   PACKAGEs1   Allow the installation of externally hosted filess   --allow-all-externalt   allow_all_externals5   Allow the installation of all externally hosted filess   --no-allow-externalt   store_falses   --allow-unverifieds   --allow-insecuret   allow_unverifieds9   Allow the installation of insecure and unverifiable filess   --no-allow-insecuret   allow_all_insecures   --process-dependency-linkst   process_dependency_linkss*   Enable the processing of dependency links.s   -rs   --requirementt   requirementst   filesQ   Install from the given requirements file. This option can be used multiple times.s   --use-wheelt	   use_wheels   --no-use-wheelsV   Do not Find and prefer wheel archives when searching indexes and find-links locations.s   --download-cachet   download_cachet   dirs#   Cache downloaded packages in <dir>.s	   --no-depss   --no-dependenciest   ignore_dependenciess#   Don't install package dependencies.s   -bs   --builds   --build-dirs   --build-directoryt	   build_dirs¬   Directory to unpack packages into and build in. The default in a virtualenv is "<venv path>/build". The default for global installs is "<OS temp dir>/pip_build_<username>".s   --install-optiont   install_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-optiont   global_optionssT   Extra global options to be supplied to the setup.py call before the install command.s
   --no-cleans!   Don't clean up build directories.s   General OptionsR   s   Package Index Options(5   R   R   t   optparseR    R   R   t   pip.locationsR   R   R   t   objectR   t   help_t   Falset   require_virtualenvR    R"   R#   R$   R'   R(   R)   R*   R/   R1   R2   R3   R;   R<   t   extra_index_urlR?   R@   RB   RC   RD   RF   t   no_allow_externalt   allow_unsafet   no_allow_unsafeRJ   RK   RM   t   Truet   no_use_wheelt   NoneRN   t   no_depsRQ   RR   RS   t   no_cleant   general_groupt   index_group(    (    (    s5   /var/www/testScraper/venv/build/pip/pip/cmdoptions.pyt   <module>	   s  																																																	