/usr/lib/python3.9/site-packages/setuptools/command/__pycache__
Edit: /usr/lib/python3.9/site-packages/setuptools/command/__pycache__/install.cpython-39.pyc (4002B)
a
ˆåÏha ã @ s| d dl mZ d dlZd dlZd dlZd dlZd dlm mZ d dl
Z
e jZG dd„ de jƒZdd„ e jjD ƒej
e_dS )é )ÚDistutilsArgErrorNc @ s„ e Zd ZdZejjddg Zejjddg Zddd„ fd d
d„ fgZe eƒZ
dd„ Zd
d„ Zdd„ Z
dd„ Zedd„ ƒZdd„ ZdS )Úinstallz7Use easy_install to install the package, w/dependencies)úold-and-unmanageableNzTry not to use this!)ú!single-version-externally-managedNz5used by system package builders to create 'flat' eggsr r Zinstall_egg_infoc C s dS ©NT© ©Úselfr r ú>/usr/lib/python3.9/site-packages/setuptools/command/install.pyÚ
ó zinstall.Zinstall_scriptsc C s dS r r r r r r
r r c C s t j | ¡ d | _d | _d S ©N)Úorigr Úinitialize_optionsÚold_and_unmanageableÚ!single_version_externally_managedr r r r
r s zinstall.initialize_optionsc C s8 t j | ¡ | jrd| _n| jr4| js4| js4tdƒ‚d S )NTzAYou must specify --record or --root when building system packages)r r Úfinalize_optionsÚrootr Úrecordr r r r r
r % s ÿzinstall.finalize_optionsc C s( | j s| jrtj | ¡S d | _d| _d S )NÚ )r r r r Úhandle_extra_pathZ path_fileZ
extra_dirsr r r r
r 0 s zinstall.handle_extra_pathc C s@ | j s| jrtj | ¡S | t ¡ ¡s4tj | ¡ n| ¡ d S r
) r r r r ÚrunÚ_called_from_setupÚinspectZcurrentframeÚdo_egg_installr r r r
r : s
zinstall.runc C sz | du r4d}t |¡ t ¡ dkr0d}t |¡ dS t | ¡d }|dd… \}t |¡}|j dd ¡}|d
kox|j dkS )añ
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.
Nz4Call stack not available. bdist_* commands may fail.Z
IronPythonz6For best results, pass -X:Frames to enable call stack.Té é Ú__name__r zdistutils.distZrun_commands)
ÚwarningsÚwarnÚplatformZpython_implementationr ZgetouterframesZgetframeinfoÚ f_globalsÚgetÚfunction)Z run_frameÚmsgÚresZcallerÚinfoZ
caller_moduler r r
r E s
þzinstall._called_from_setupc C sŒ | j d¡}|| j d| j| jd�}| ¡ d|_|j t d¡¡ | d¡ | j
d¡jg}tj
rp| dtj
¡ ||_|jdd � d t_
d S )
NÚeasy_installÚx)Úargsr r Ú.z*.eggZ bdist_eggr F)Zshow_deprecation)ZdistributionZget_command_classr r Zensure_finalizedZalways_copy_fromZ
package_indexÚscanÚglobZrun_commandZget_command_objZ
egg_outputÚ
setuptoolsZbootstrap_install_fromÚinsertr) r )r r' Úcmdr) r r r
r ` s ÿ
zinstall.do_egg_installN)r Ú
__module__Ú__qualname__Ú__doc__r r Zuser_optionsZboolean_optionsÚnew_commandsÚdictÚ_ncr r r r Ústaticmethodr r r r r r
r s&