$72 GRAYBYTE WORDPRESS FILE MANAGER $32

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.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python27/lib/python2.7/site-packages/setuptools/

HOME
Current File : /opt/alt/python27/lib/python2.7/site-packages/setuptools//monkey.pyc
�
��Rec@s�dZddlZddlZddlZddlZddlZddlZddlm	Z	ddl
mZddlZgZ
d�Zd�Zd�Zd	�Zd
�Zd�Zd�Zd
�Zd�ZdS(s
Monkey patching of distutils.
i����Ni(t
import_module(tsixcCs-tj�dkr |f|jStj|�S(sm
    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.
    tJython(tplatformtpython_implementationt	__bases__tinspecttgetmro(tcls((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/monkey.pyt_get_mros	cCsCt|tj�rtnt|tj�r0tnd�}||�S(NcSsdS(N(tNone(titem((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/monkey.pyt<lambda>*t(t
isinstanceRtclass_typestget_unpatched_classttypestFunctionTypetget_unpatched_function(Rtlookup((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/monkey.pyt
get_unpatched&s	cCsQd�t|�D�}t|�}|jjd�sMd|}t|��n|S(s�Protect against re-patching the distutils if reloaded

    Also ensures that no other distutils extension monkeypatched the distutils
    first.
    css'|]}|jjd�s|VqdS(t
setuptoolsN(t
__module__t
startswith(t.0R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/monkey.pys	<genexpr>6st	distutilss(distutils has already been patched by %r(R	tnextRRtAssertionError(Rtexternal_basestbasetmsg((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/monkey.pyR/s
cCsWtjtj_tjdk}|r6tjtj_ntjdkp�d
tjko_dknp�dtjko~dknp�dtjko�dkn}|r�d	}|tjj	_
nt�t�x/tj
tjtjfD]}tj
j|_q�Wtjjtj_tjjtj_d
tjkrLtjjtjd
_nt�dS(Niiiii
iiishttps://upload.pypi.org/legacy/sdistutils.command.build_ext(iii(iii
(ii(iii(ii(iii(ii(iii(RtCommandRtcoretsystversion_infotfindalltfilelisttconfigt
PyPIRCCommandtDEFAULT_REPOSITORYt+_patch_distribution_metadata_write_pkg_filet+_patch_distribution_metadata_write_pkg_infotdisttcmdtDistributiont	extensiont	Extensiontmodulest#patch_for_msvc_specialized_compiler(thas_issue_12885tneeds_warehouset	warehousetmodule((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/monkey.pyt	patch_allAs(cCstjjtjj_dS(sDPatch write_pkg_file to also write Requires-Python/Requires-ExternalN(RR+twrite_pkg_fileRtDistributionMetadata(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/monkey.pyR)kscCsFdtjd kodkn}|s-dStjjtjj_dS(s�
    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.
    iiN(i(iii(R"R#RR+twrite_pkg_infoRR8(tenvironment_local((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/monkey.pyR*rs#cCs9t||�}t|�jd|�t|||�dS(s�
    Patch func_name in target_mod with replacement

    Important - original must be resolved by name to avoid
    patching an already patched function.
    t	unpatchedN(tgetattrtvarst
setdefaulttsetattr(treplacementt
target_modt	func_nametoriginal((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/monkey.pyt
patch_func�scCs
t|d�S(NR;(R<(t	candidate((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/monkey.pyR�scs�td��tj�dkr"dS�fd�}tj|d�}tj|d�}y$t|d��t|d��Wntk
r�nXyt|d	��Wntk
r�nXyt|d
��Wntk
r�nXdS(s\
    Patch functions in distutils to use standalone Microsoft Visual C++
    compilers.
    ssetuptools.msvctWindowsNcsqd|krdnd}||jd�}t�|�}t|�}t||�sdt|��n|||fS(sT
        Prepare the parameters for patch_func to patch indicated function.
        tmsvc9tmsvc9_tmsvc14_t_(tlstripR<RthasattrtImportError(tmod_nameRBtrepl_prefixt	repl_nametrepltmod(tmsvc(s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/monkey.pytpatch_params�ssdistutils.msvc9compilersdistutils._msvccompilertfind_vcvarsalltquery_vcvarsallt_get_vc_envtgen_lib_options(RRtsystemt	functoolstpartialRDRM(RTRGtmsvc14((RSs�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/monkey.pyR1�s&



(t__doc__R"tdistutils.filelistRRRRZRt
py26compatRtsetuptools.externRRt__all__R	RRR6R)R*RDRR1(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/monkey.pyt<module>s&					*				


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
4 Apr 2025 8.03 AM
root / linksafe
0755
command
--
3 Mar 2024 10.49 PM
root / linksafe
0755
extern
--
3 Mar 2024 10.49 PM
root / linksafe
0755
__init__.py
4.919 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
__init__.pyc
7.914 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
archive_util.py
6.458 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
archive_util.pyc
6.661 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
config.py
15.935 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
config.pyc
19.261 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
dep_util.py
0.913 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
dep_util.pyc
1.103 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
depends.py
5.7 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
depends.pyc
7.292 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
dist.py
39.359 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
dist.pyc
43.612 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
extension.py
1.688 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
extension.pyc
2.842 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
glob.py
5.085 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
glob.pyc
5.586 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
launch.py
0.769 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
launch.pyc
1.137 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
lib2to3_ex.py
1.966 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
lib2to3_ex.pyc
3.654 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
monkey.py
5.655 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
monkey.pyc
7.241 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
msvc.py
39.926 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
msvc.pyc
45.896 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
namespaces.py
3.124 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
namespaces.pyc
5.876 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
package_index.py
39.034 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
package_index.pyc
45.489 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
py26compat.py
0.663 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
py26compat.pyc
1.587 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
py27compat.py
0.523 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
py27compat.pyc
1.341 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
py31compat.py
1.606 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
py31compat.pyc
2.88 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
py33compat.py
0.975 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
py33compat.pyc
1.787 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
py36compat.py
2.823 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
py36compat.pyc
3.195 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
sandbox.py
14.208 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
sandbox.pyc
22.996 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
script (dev).tmpl
0.196 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
script.tmpl
0.135 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
site-patch.py
2.253 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
site-patch.pyc
1.858 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
ssl_support.py
8.027 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
ssl_support.pyc
9.781 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
unicode_utils.py
0.973 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
unicode_utils.pyc
1.758 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
version.py
0.141 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
version.pyc
0.395 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
windows_support.py
0.697 KB
13 Nov 2023 9.14 PM
root / linksafe
0644
windows_support.pyc
1.564 KB
13 Nov 2023 9.14 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF