$76 GRAYBYTE WORDPRESS FILE MANAGER $55

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

/opt/alt/python36/lib/python3.6/site-packages/setuptools/__pycache__/

HOME
Current File : /opt/alt/python36/lib/python3.6/site-packages/setuptools/__pycache__//monkey.cpython-36.pyc
3

K�Re��@s�dZddlZddlZddlZddlZddlZddlmZddl	Z	ddl
mZddlZgZ
dd�Zdd�Zd	d
�Zdd�Zd
d�Zdd�Zdd�Zdd�Zdd�ZdS)z
Monkey patching of distutils.
�N)�
import_module)�sixcCs"tj�dkr|f|jStj|�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-python36-setuptools-38.5.2-7.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/setuptools/monkey.py�_get_mros	r
cCs0t|tj�rtnt|tj�r tndd�}||�S)NcSsdS)Nr)�itemrrr�<lambda>*szget_unpatched.<locals>.<lambda>)�
isinstancer�class_types�get_unpatched_class�types�FunctionType�get_unpatched_function)r�lookuprrr�
get_unpatched&srcCs:dd�t|�D�}t|�}|jjd�s6d|}t|��|S)z�Protect against re-patching the distutils if reloaded

    Also ensures that no other distutils extension monkeypatched the distutils
    first.
    css|]}|jjd�s|VqdS)�
setuptoolsN)�
__module__�
startswith)�.0r
rrr�	<genexpr>6sz&get_unpatched_class.<locals>.<genexpr>�	distutilsz(distutils has already been patched by %r)r
�nextrr�AssertionError)r
Zexternal_bases�base�msgrrrr/srcCs�tjtj_tjdk}|r"tjtj_tjdkpxd
tjko@dknpxdtjkoZdknpxdtjkotdkn}|r�d	}|tjj	_
t�t�x"tj
tjtjfD]}tj
j|_q�Wtjjtj_tjjtj_d
tjk�r�tjjtjd
_t�dS)N�����
r��zhttps://upload.pypi.org/legacy/zdistutils.command.build_ext)r"r#r")r$r%r&)r"r)r"r"r%)r"r')r"r'r()r"r#)r"r#r")r�Commandr�core�sys�version_info�findall�filelist�config�
PyPIRCCommand�DEFAULT_REPOSITORY�+_patch_distribution_metadata_write_pkg_file�+_patch_distribution_metadata_write_pkg_info�dist�cmd�Distribution�	extension�	Extension�modules�#patch_for_msvc_specialized_compiler)Zhas_issue_12885Zneeds_warehouseZ	warehouse�modulerrr�	patch_allAs(




r<cCstjjtjj_dS)zDPatch write_pkg_file to also write Requires-Python/Requires-ExternalN)rr4�write_pkg_filer�DistributionMetadatarrrrr2ksr2cCs<dtjdd�kodkn}|s*dStjjtjj_dS)z�
    Workaround issue #197 - Python 3 prior to 3.2.2 uses an environment-local
    encoding to save the pkg_info. Monkey-patch its write_pkg_info method to
    correct this undesirable behavior.
    r"Nr$)r")r"r$r$)r+r,rr4�write_pkg_inforr>)Zenvironment_localrrrr3rs"r3cCs*t||�}t|�jd|�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)�getattr�vars�
setdefault�setattr)�replacementZ
target_mod�	func_name�originalrrr�
patch_func�s
rHcCs
t|d�S)Nr@)rA)�	candidaterrrr�srcs�td��tj�dkrdS�fdd�}tj|d�}tj|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}||jd�}t�|�}t|�}t||�sBt|��|||fS)zT
        Prepare the parameters for patch_func to patch indicated function.
        �msvc9Zmsvc9_Zmsvc14_�_)�lstriprAr�hasattr�ImportError)�mod_namerFZrepl_prefixZ	repl_name�repl�mod)�msvcrr�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)rSrr:�s&
r:)�__doc__r+�distutils.filelistrrrrV�	importlibrrZsetuptools.externrr�__all__r
rrr<r2r3rHrr:rrrr�<module>s&	*


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.36 PM
root / linksafe
0755
__init__.cpython-36.pyc
6.178 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
archive_util.cpython-36.pyc
5.053 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
build_meta.cpython-36.pyc
5.808 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
config.cpython-36.pyc
14.065 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
dep_util.cpython-36.pyc
0.872 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
depends.cpython-36.pyc
5.194 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
dist.cpython-36.pyc
35.115 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
extension.cpython-36.pyc
1.966 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
glibc.cpython-36.pyc
1.546 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
glob.cpython-36.pyc
3.79 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
launch.cpython-36.pyc
0.871 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
lib2to3_ex.cpython-36.pyc
2.413 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
monkey.cpython-36.pyc
5.091 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
msvc.cpython-36.pyc
33.771 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
namespaces.cpython-36.pyc
3.629 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
package_index.cpython-36.pyc
31.917 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
pep425tags.cpython-36.pyc
7.203 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
py27compat.cpython-36.pyc
0.829 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
py31compat.cpython-36.pyc
1.551 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
py33compat.cpython-36.pyc
1.236 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
py36compat.cpython-36.pyc
2.192 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
sandbox.cpython-36.pyc
15.392 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
site-patch.cpython-36.pyc
1.508 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
ssl_support.cpython-36.pyc
6.664 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
unicode_utils.cpython-36.pyc
1.179 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
version.cpython-36.pyc
0.357 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
wheel.cpython-36.pyc
5.727 KB
13 Nov 2023 9.25 PM
root / linksafe
0644
windows_support.cpython-36.pyc
1.024 KB
13 Nov 2023 9.25 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF