$12 GRAYBYTE WORDPRESS FILE MANAGER $96

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python37/lib/python3.7/site-packages/setuptools/__pycache__/

HOME
Current File : /opt/alt/python37/lib/python3.7/site-packages/setuptools/__pycache__//monkey.cpython-37.pyc
B

��Rea�@s�dZddlZddlZddlZddlZddlZddlmZddl	Z	ddl
Z
gZdd�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-python37-setuptools-58.3.0-4.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/setuptools/monkey.py�_get_mros	rcCs.t|t�rtnt|tj�rtndd�}||�S)NcSsdS)Nr
)�itemr
r
r�<lambda>(�zget_unpatched.<locals>.<lambda>)�
isinstance�type�get_unpatched_class�types�FunctionType�get_unpatched_function)r
�lookupr
r
r�
get_unpatched$srcCs:dd�t|�D�}t|�}|j�d�s6d|}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>4sz&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}|r"tjtj_tjdkp^dtjko@dknp^dtjkoZdkn}|rrd}|tjj	_
t�x"tjtjtj
fD]}tjj|_q�Wtjjtj_tjjtj_dtjkr�tjjtjd_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.x(dD] }ttj|�}ttjj||�qWdS)zDPatch write_pkg_file and read_pkg_file for higher metadata standards)�write_pkg_file�
read_pkg_fileZget_metadata_versionN)�getattrrr3�setattrr�DistributionMetadata)�attr�new_valr
r
rr2fs
r2cCs*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
rIcCs
t|d�S)NrC)r>)�	candidater
r
rr~srcs�td��t��dkrdS�fdd�}t�|d�}t�|d�}yt|d��t|d	��Wntk
rlYnXyt|d
��Wntk
r�YnXyt|d��Wntk
r�YnXdS)z\
    Patch functions in distutils to use standalone Microsoft Visual C++
    compilers.
    zsetuptools.msvc�WindowsNcsLd|krdnd}||�d�}t�|�}t|�}t||�sBt|��|||fS)zT
        Prepare the parameters for patch_func to patch indicated function.
        �msvc9Zmsvc9_Zmsvc14_�_)�lstripr>r�hasattr�ImportError)�mod_namerGZrepl_prefixZ	repl_name�repl�mod)�msvcr
r�patch_params�s

z9patch_for_msvc_specialized_compiler.<locals>.patch_paramszdistutils.msvc9compilerzdistutils._msvccompilerZfind_vcvarsallZquery_vcvarsallZ_get_vc_envZgen_lib_options)rr�system�	functools�partialrIrP)rUrLZmsvc14r
)rTrr9�s&
r9)�__doc__r+�distutils.filelistrrrrW�	importlibrrr�__all__rrrr;r2rIrr9r
r
r
r�<module>s"	'


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.40 PM
root / linksafe
0755
__init__.cpython-37.pyc
8.459 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
_deprecation_warning.cpython-37.pyc
0.576 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
_imp.cpython-37.pyc
2.078 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
archive_util.cpython-37.pyc
5.61 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
build_meta.cpython-37.pyc
8.722 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
config.cpython-37.pyc
20.177 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
dep_util.cpython-37.pyc
0.878 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
depends.cpython-37.pyc
5.072 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
dist.cpython-37.pyc
35.632 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
errors.cpython-37.pyc
0.869 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
extension.cpython-37.pyc
1.916 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
glob.cpython-37.pyc
3.634 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
installer.cpython-37.pyc
2.724 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
launch.cpython-37.pyc
0.897 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
monkey.cpython-37.pyc
4.509 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
msvc.cpython-37.pyc
41.69 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
namespaces.cpython-37.pyc
3.5 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
package_index.cpython-37.pyc
31.501 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
py34compat.cpython-37.pyc
0.512 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
sandbox.cpython-37.pyc
15.099 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
unicode_utils.cpython-37.pyc
1.119 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
version.cpython-37.pyc
0.361 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
wheel.cpython-37.pyc
6.994 KB
13 Nov 2023 9.35 PM
root / linksafe
0644
windows_support.cpython-37.pyc
1.028 KB
13 Nov 2023 9.35 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF