__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

aptanhua@216.73.217.122: ~ $
B

��Red�@s�ddlmZddlmZddlmZmZddlZddlZddl	Z	ddl
Z
ddlmZddl
mZddl
Z
Gdd�deje�ZGd	d
�d
�ZdS)�)�convert_path)�log)�DistutilsError�DistutilsOptionErrorN)�easy_install)�
namespacesc@sveZdZdZdZejddgZejdgZdZdd�Z	d	d
�Z
dd�Zed
d��Z
dd�Zdd�Zdd�Zdd�ZdS)�developzSet up package for developmentz%install package in 'development mode')�	uninstall�uzUninstall this source package)z	egg-path=Nz-Set the path to be used in the .egg-link filer	FcCs2|jrd|_|��|��n|��|��dS)NT)r	Z
multi_version�uninstall_linkZuninstall_namespaces�install_for_developmentZwarn_deprecated_options)�self�r��/builddir/build/BUILDROOT/alt-python37-setuptools-58.3.0-4.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/setuptools/command/develop.py�runs
zdevelop.runcCs&d|_d|_t�|�d|_d|_dS)N�.)r	�egg_pathr�initialize_options�
setup_pathZalways_copy_from)r
rrrr%s

zdevelop.initialize_optionscCs|�d�}|jr,d}|j|jf}t||��|jg|_t�|�|��|�	�|j
�t�d��|jd}t
j�|j|�|_|j|_|jdkr�t
j�|j�|_t�|j�}t�t
j�|j|j��}||kr�td|��tj|t�|t
j�|j��|jd�|_|�|j|j|j�|_dS)N�egg_infoz-Please rename %r to %r before using 'develop'z*.eggz	.egg-linkzA--egg-path must be a relative path from the install directory to )�project_name)�get_finalized_commandZbroken_egg_inforr�egg_name�argsr�finalize_options�expand_basedirs�expand_dirsZ
package_index�scan�glob�os�path�join�install_dir�egg_link�egg_baser�abspath�
pkg_resources�normalize_pathr�Distribution�PathMetadata�dist�_resolve_setup_pathr)r
�ei�templaterZegg_link_fn�targetrrrrr,s<




zdevelop.finalize_optionscCsn|�tjd��d�}|tjkr0d|�d�d}t�tj�	|||��}|t�tj�krjt
d|t�tj���|S)z�
        Generate a path from egg_base back to '.' where the
        setup script resides and ensure that path points to the
        setup path from $install_dir/$egg_path.
        �/z../�zGCan't get a consistent path to setup script from installation directory)�replacer�sep�rstrip�curdir�countr&r'r r!r)r$r"rZ
path_to_setupZresolvedrrrr+Ws
zdevelop._resolve_setup_pathc	Cs�|�d�|jddd�|�d�tjr:|�tj�dt_|��t�d|j|j	�|j
s�t|jd��}|�|j
d|j�WdQRX|�d|j|j�dS)Nr�	build_extr0)ZinplacezCreating %s (link to %s)�w�
)�run_command�reinitialize_command�
setuptoolsZbootstrap_install_fromrZinstall_namespacesr�infor#r$�dry_run�open�writerrZprocess_distributionr*�no_deps)r
�frrrrms

 zdevelop.install_for_developmentcCs�tj�|j�rzt�d|j|j�t|j�}dd�|D�}|��||j	g|j	|j
gfkrht�d|�dS|jszt�
|j�|js�|�|j�|jjr�t�d�dS)NzRemoving %s (link to %s)cSsg|]}|���qSr)r3)�.0�linerrr�
<listcomp>�sz*develop.uninstall_link.<locals>.<listcomp>z$Link points to %s: uninstall abortedz5Note: you must uninstall or replace scripts manually!)rr �existsr#rr<r$r>�closerr�warnr=�unlinkZ
update_pthr*�distribution�scripts)r
Z
egg_link_file�contentsrrrr�s
zdevelop.uninstall_linkc
Cs�||jk	rt�||�S|�|�x^|jjp,gD]N}tj�t	|��}tj�
|�}t�|��}|�
�}WdQRX|�||||�q.WdS)N)r*r�install_egg_scripts�install_wrapper_scriptsrIrJrr r%r�basename�ior>�readZinstall_script)r
r*�script_nameZscript_path�strm�script_textrrrrL�s

zdevelop.install_egg_scriptscCst|�}t�||�S)N)�VersionlessRequirementrrM)r
r*rrrrM�szdevelop.install_wrapper_scriptsN)�__name__�
__module__�__qualname__�__doc__�descriptionr�user_options�boolean_optionsZcommand_consumes_argumentsrrr�staticmethodr+rrrLrMrrrrrs	+rc@s(eZdZdZdd�Zdd�Zdd�ZdS)	rTa�
    Adapt a pkg_resources.Distribution to simply return the project
    name as the 'requirement' so that scripts will work across
    multiple versions.

    >>> from pkg_resources import Distribution
    >>> dist = Distribution(project_name='foo', version='1.0')
    >>> str(dist.as_requirement())
    'foo==1.0'
    >>> adapted_dist = VersionlessRequirement(dist)
    >>> str(adapted_dist.as_requirement())
    'foo'
    cCs
||_dS)N)�_VersionlessRequirement__dist)r
r*rrr�__init__�szVersionlessRequirement.__init__cCst|j|�S)N)�getattrr])r
�namerrr�__getattr__�sz"VersionlessRequirement.__getattr__cCs|jS)N)r)r
rrr�as_requirement�sz%VersionlessRequirement.as_requirementN)rUrVrWrXr^rarbrrrrrT�s
rT)�distutils.utilr�	distutilsr�distutils.errorsrrrrrOr&Zsetuptools.command.easy_installrr;rZDevelopInstallerrrTrrrr�<module>s

Filemanager

Name Type Size Permission Actions
__init__.cpython-37.pyc File 421 B 0644
alias.cpython-37.pyc File 2.33 KB 0644
bdist_egg.cpython-37.pyc File 12.76 KB 0644
bdist_rpm.cpython-37.pyc File 1.56 KB 0644
build_clib.cpython-37.pyc File 2.43 KB 0644
build_ext.cpython-37.pyc File 9.54 KB 0644
build_py.cpython-37.pyc File 7.58 KB 0644
develop.cpython-37.pyc File 5.94 KB 0644
dist_info.cpython-37.pyc File 1.39 KB 0644
easy_install.cpython-37.pyc File 61.57 KB 0644
egg_info.cpython-37.pyc File 21.34 KB 0644
install.cpython-37.pyc File 4.13 KB 0644
install_egg_info.cpython-37.pyc File 2.4 KB 0644
install_lib.cpython-37.pyc File 4.05 KB 0644
install_scripts.cpython-37.pyc File 2.4 KB 0644
py36compat.cpython-37.pyc File 4.5 KB 0644
register.cpython-37.pyc File 879 B 0644
rotate.cpython-37.pyc File 2.47 KB 0644
saveopts.cpython-37.pyc File 967 B 0644
sdist.cpython-37.pyc File 6.42 KB 0644
setopt.cpython-37.pyc File 4.55 KB 0644
test.cpython-37.pyc File 7.63 KB 0644
upload.cpython-37.pyc File 852 B 0644
upload_docs.cpython-37.pyc File 5.98 KB 0644