ΰReα c @ s~ d d l Z d d l Z d d l Z d d l m Z d d l m Z Gd d d e Z d d e j D e j e _ d S( i N( u install( u DistutilsArgErrorc B s¬ | Ee Z d Z d Z e j d d g Z e j d d g Z d d d f d d
d f g Z e e Z
d d Z d
d Z d d Z
d d Z d d Z d S( u installu7 Use easy_install to install the package, w/dependenciesu old-and-unmanageableu Try not to use this!u! single-version-externally-managedu5 used by system package builders to create 'flat' eggsu install_egg_infoc C s d S( NT( u True( u self( ( u3 /tmp/pip-k8wh6o-build/setuptools/command/install.pyu s u install.u install_scriptsc C s d S( NT( u True( u self( ( u3 /tmp/pip-k8wh6o-build/setuptools/command/install.pyu s c C s, t j | d | _ d | _ d | _ d S( N( u _installu initialize_optionsu Noneu old_and_unmanageableu! single_version_externally_managedu
no_compile( u self( ( u3 /tmp/pip-k8wh6o-build/setuptools/command/install.pyu initialize_options s
u install.initialize_optionsc C sU t j | | j r" d | _ n/ | j rQ | j rQ | j rQ t d qQ n d S( NuA You must specify --record or --root when building system packagesT( u _installu finalize_optionsu rootu Trueu! single_version_externally_managedu recordu DistutilsArgError( u self( ( u3 /tmp/pip-k8wh6o-build/setuptools/command/install.pyu finalize_options s
u install.finalize_optionsc C s5 | j s | j r t j | Sd | _ d | _ d S( Nu ( u rootu! single_version_externally_managedu _installu handle_extra_pathu Noneu path_fileu
extra_dirs( u self( ( u3 /tmp/pip-k8wh6o-build/setuptools/command/install.pyu handle_extra_path' s
u install.handle_extra_pathc C s
| j s | j r t j | St j d } | j j d d } | j j } | d k sg | d k rw t j | n
| j
d S( Ni u __name__u u distutils.distu run_commands( u old_and_unmanageableu! single_version_externally_managedu _installu runu sysu _getframeu f_globalsu getu f_codeu co_nameu do_egg_install( u selfu calleru
caller_moduleu caller_name( ( u3 /tmp/pip-k8wh6o-build/setuptools/command/install.pyu run2 s
u install.runc C sΙ | j j d } | | j d d d | j d | j } | j d | _ | j j t j d | j d | j j
d j g } t j
r© | j d t j
n | | _ | j d t _
d S(
Nu easy_installu argsu xu rootu recordu .u *.eggu bdist_eggi ( u distributionu get_command_classu rootu recordu ensure_finalizedu always_copy_fromu
package_indexu scanu globu run_commandu get_command_obju
egg_outputu
setuptoolsu bootstrap_install_fromu insertu argsu runu None( u selfu easy_installu cmdu args( ( u3 /tmp/pip-k8wh6o-build/setuptools/command/install.pyu do_egg_installP s $
u install.do_egg_installN( u old-and-unmanageableNu Try not to use this!( u! single-version-externally-managedNu5 used by system package builders to create 'flat' eggs( u __name__u
__module__u __qualname__u __doc__u _installu user_optionsu Noneu boolean_optionsu new_commandsu dictu _ncu initialize_optionsu finalize_optionsu handle_extra_pathu runu do_egg_install( u
__locals__( ( u3 /tmp/pip-k8wh6o-build/setuptools/command/install.pyu install s
u installc C s) g | ] } | d t j k r | q S( i ( u installu _nc( u .0u cmd( ( u3 /tmp/pip-k8wh6o-build/setuptools/command/install.pyu
j s u
(
u
setuptoolsu sysu globu distutils.command.installu installu _installu distutils.errorsu DistutilsArgErroru sub_commandsu new_commands( ( ( u3 /tmp/pip-k8wh6o-build/setuptools/command/install.pyu s
$e