ok

Mini Shell

Direktori : /usr/lib/python2.7/site-packages/setuptools/command/
Upload File :
Current File : //usr/lib/python2.7/site-packages/setuptools/command/install.pyc

�
�fc@s�ddlmZddlZddlZddlZddlZddljjZ	ddl
Z
e	jZde	jfd��YZge	jjD]Z
e
dejkr�e
^q�eje_dS(i����(tDistutilsArgErrorNtinstallcBs�eZdZejjddgZejjddgZdd�fdd�fgZe	e�Z
d	�Zd
�Zd�Z
d�Zed
��Zd�ZRS(s7Use easy_install to install the package, w/dependenciessold-and-unmanageablesTry not to use this!s!single-version-externally-manageds5used by system package builders to create 'flat' eggstinstall_egg_infocCstS(N(tTrue(tself((s>/usr/lib/python2.7/site-packages/setuptools/command/install.pyt<lambda>ttinstall_scriptscCstS(N(R(R((s>/usr/lib/python2.7/site-packages/setuptools/command/install.pyRRcCs&tjj|�d|_d|_dS(N(torigRtinitialize_optionstNonetold_and_unmanageablet!single_version_externally_managed(R((s>/usr/lib/python2.7/site-packages/setuptools/command/install.pyR	 s	cCsXtjj|�|jr%t|_n/|jrT|jrT|jrTtd��qTndS(NsAYou must specify --record or --root when building system packages(RRtfinalize_optionstrootRRtrecordR(R((s>/usr/lib/python2.7/site-packages/setuptools/command/install.pyR
%s		cCs8|js|jr"tjj|�Sd|_d|_dS(NR(RRRRthandle_extra_pathR
t	path_filet
extra_dirs(R((s>/usr/lib/python2.7/site-packages/setuptools/command/install.pyR0s	cCsX|js|jr"tjj|�S|jtj��sJtjj|�n
|j�dS(N(	RRRRtrunt_called_from_setuptinspecttcurrentframetdo_egg_install(R((s>/usr/lib/python2.7/site-packages/setuptools/command/install.pyR:s
cCs�|d
krKd}tj|�tj�dkrGd}tj|�ntStj|�d}|d \}tj|�}|j	j
dd�}|dko�|jd	kS(s�
        Attempt to detect whether run() was called from setup() or by another
        command.  If called by setup(), the parent caller will be the
        'run_command' method in 'distutils.dist', and *its* caller will be
        the 'run_commands' method.  If called any other way, the
        immediate caller *might* be 'run_command', but it won't have been
        called by 'run_commands'. Return True in that case or if a call stack
        is unavailable. Return False otherwise.
        s4Call stack not available. bdist_* commands may fail.t
IronPythons6For best results, pass -X:Frames to enable call stack.iit__name__Rsdistutils.disttrun_commandsN(R
twarningstwarntplatformtpython_implementationRRtgetouterframestgetframeinfot	f_globalstgettfunction(t	run_frametmsgtrestcallertinfot
caller_module((s>/usr/lib/python2.7/site-packages/setuptools/command/install.pyREs

cCs�|jjd�}||jddd|jd|j�}|j�d|_|jjtjd��|j	d�|jj
d�jg}tj
r�|jd	tj
�n||_|j�dt_
dS(
Nteasy_installtargstxRRt.s*.eggt	bdist_eggi(tdistributiontget_command_classRRtensure_finalizedtalways_copy_fromt
package_indextscantglobtrun_commandtget_command_objt
egg_outputt
setuptoolstbootstrap_install_fromtinsertR+RR
(RR*tcmdR+((s>/usr/lib/python2.7/site-packages/setuptools/command/install.pyR`s$
	
		
N(sold-and-unmanageableNsTry not to use this!(s!single-version-externally-managedNs5used by system package builders to create 'flat' eggs(Rt
__module__t__doc__RRtuser_optionsR
tboolean_optionstnew_commandstdictt_ncR	R
RRtstaticmethodRR(((s>/usr/lib/python2.7/site-packages/setuptools/command/install.pyRs 	
	
			
	i(tdistutils.errorsRRR5RRtdistutils.command.installtcommandRRR9t_installtsub_commandsR<RCRA(((s>/usr/lib/python2.7/site-packages/setuptools/command/install.pyt<module>s	l/

Zerion Mini Shell 1.0