/usr/lib/python3/dist-packages/setuptools/command/__pycache__
Edit: /usr/lib/python3/dist-packages/setuptools/command/__pycache__/install.cpython-310.pyc (4169B)
o
_a* @ s| d dl mZ d dlZd dlZd dlZd dlZd dlm mZ d dl
Z
e jZG dd de jZdd e jjD ej
e_dS ) )DistutilsArgErrorNc @ s e Zd ZdZejjddg Zejjddg Zddd fd d
d fgZe eZ
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 install_egg_infoc C dS NT selfr r zinstall.
install_scriptsc C r r r r
r r r r
r c C s* t dtj tj| d | _d | _d S )NzRsetup.py install is deprecated. Use build and pip and other standards-based tools.) warningswarn
setuptoolsSetuptoolsDeprecationWarningorigr initialize_optionsold_and_unmanageable!single_version_externally_managedr
r r r r s
zinstall.initialize_optionsc C sB t j| | jrd| _d S | jr| js| jstdd S d S d S )NTzAYou must specify --record or --root when building system packages)r r finalize_optionsrootr 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_path path_file
extra_dirsr
r r r r 7 s
zinstall.handle_extra_pathc C sB | j s| jrtj| S | t stj| d S | d S )N) r r r r run_called_from_setupinspectcurrentframedo_egg_installr
r r r r A s
zinstall.runc C sz | du rd}t | t dkrd}t | dS t| d }|dd \}t|}|jdd }|d
ko<|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.
IronPythonz6For best results, pass -X:Frames to enable call stack.T __name__r zdistutils.distrun_commands)
r r platformpython_implementationr! getouterframesgetframeinfo f_globalsgetfunction) run_framemsgrescallerinfo
caller_moduler r r r L s
zinstall._called_from_setupc C s | j d}|| j d| j| jd}| d|_|jtd | d | j
djg}tj
r8|dtj
||_|jdd d t_
d S )
Neasy_installx)argsr r .z*.egg bdist_eggr F)show_deprecation)distributionget_command_classr r ensure_finalizedalways_copy_from
package_indexscanglobrun_commandget_command_obj
egg_outputr bootstrap_install_frominsertr8 r )r r6 cmdr8 r r r r# g s
zinstall.do_egg_installN)r'
__module____qualname____doc__r r user_optionsboolean_optionsnew_commandsdict_ncr r r r staticmethodr r# r r r r r s(
r c C s g | ]}|d t jvr|qS )r )r rP ).0rH r r r