Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /lib/python2.7/site-packages/setuptools/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python2.7/site-packages/setuptools/monkey.pyo
�
�fc@s�dZddlZddlZddlZddlZddlZddlmZddl	Z	ddl
mZddlZgZ
d�Zd�Zd�Zd�Zd	�Zd
�Zd�Zd�Zd
�ZdS(s
Monkey patching of distutils.
i����N(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((s5/usr/lib/python2.7/site-packages/setuptools/monkey.pyt_get_mros	cCsCt|tj�rtnt|tj�r0tnd�}||�S(NcSsdS(N(tNone(titem((s5/usr/lib/python2.7/site-packages/setuptools/monkey.pyt<lambda>*t(t
isinstanceRtclass_typestget_unpatched_classttypestFunctionTypetget_unpatched_function(Rtlookup((s5/usr/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((s5/usr/lib/python2.7/site-packages/setuptools/monkey.pys	<genexpr>6st	distutilss(distutils has already been patched by %r(R	tnextRRtAssertionError(Rtexternal_basestbasetmsg((s5/usr/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((s5/usr/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(((s5/usr/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((s5/usr/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((s5/usr/lib/python2.7/site-packages/setuptools/monkey.pyt
patch_func�scCs
t|d�S(NR;(R<(t	candidate((s5/usr/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(s5/usr/lib/python2.7/site-packages/setuptools/monkey.pytpatch_params�ssdistutils.msvc9compilersdistutils._msvccompilertfind_vcvarsalltquery_vcvarsallt_get_vc_envtgen_lib_options(RRtsystemt	functoolstpartialRDRM(RTRGtmsvc14((RSs5/usr/lib/python2.7/site-packages/setuptools/monkey.pyR1�s&



(t__doc__R"tdistutils.filelistRRRRZt	importlibRRtsetuptools.externRRt__all__R	RRR6R)R*RDRR1(((s5/usr/lib/python2.7/site-packages/setuptools/monkey.pyt<module>s&					*				
Name
Size
Permissions
Options
_vendor
--
drwxr-xr-x
command
--
drwxr-xr-x
extern
--
drwxr-xr-x
__init__.py
5.566 KB
-rw-r--r--
__init__.pyc
7.446 KB
-rw-r--r--
__init__.pyo
7.446 KB
-rw-r--r--
archive_util.py
6.438 KB
-rw-r--r--
archive_util.pyc
5.998 KB
-rw-r--r--
archive_util.pyo
5.998 KB
-rw-r--r--
build_meta.py
5.538 KB
-rw-r--r--
build_meta.pyc
6.483 KB
-rw-r--r--
build_meta.pyo
6.369 KB
-rw-r--r--
config.py
15.997 KB
-rw-r--r--
config.pyc
16.492 KB
-rw-r--r--
config.pyo
16.492 KB
-rw-r--r--
dep_util.py
0.913 KB
-rw-r--r--
dep_util.pyc
0.942 KB
-rw-r--r--
dep_util.pyo
0.942 KB
-rw-r--r--
depends.py
5.7 KB
-rw-r--r--
depends.pyc
6.331 KB
-rw-r--r--
depends.pyo
6.331 KB
-rw-r--r--
dist.py
41.518 KB
-rw-r--r--
dist.pyc
40.529 KB
-rw-r--r--
dist.pyo
40.473 KB
-rw-r--r--
extension.py
1.688 KB
-rw-r--r--
extension.pyc
2.361 KB
-rw-r--r--
extension.pyo
2.361 KB
-rw-r--r--
glibc.py
3.072 KB
-rw-r--r--
glibc.pyc
1.914 KB
-rw-r--r--
glibc.pyo
1.914 KB
-rw-r--r--
glob.py
5.085 KB
-rw-r--r--
glob.pyc
4.705 KB
-rw-r--r--
glob.pyo
4.645 KB
-rw-r--r--
launch.py
0.769 KB
-rw-r--r--
launch.pyc
0.977 KB
-rw-r--r--
launch.pyo
0.977 KB
-rw-r--r--
lib2to3_ex.py
1.966 KB
-rw-r--r--
lib2to3_ex.pyc
2.934 KB
-rw-r--r--
lib2to3_ex.pyo
2.934 KB
-rw-r--r--
monkey.py
5.653 KB
-rw-r--r--
monkey.pyc
6.194 KB
-rw-r--r--
monkey.pyo
6.194 KB
-rw-r--r--
msvc.py
39.919 KB
-rw-r--r--
msvc.pyc
39.406 KB
-rw-r--r--
msvc.pyo
39.406 KB
-rw-r--r--
namespaces.py
3.124 KB
-rw-r--r--
namespaces.pyc
4.915 KB
-rw-r--r--
namespaces.pyo
4.915 KB
-rw-r--r--
package_index.py
39.212 KB
-rw-r--r--
package_index.pyc
38.812 KB
-rw-r--r--
package_index.pyo
38.812 KB
-rw-r--r--
pep425tags.py
10.627 KB
-rw-r--r--
pep425tags.pyc
9.115 KB
-rw-r--r--
pep425tags.pyo
9.115 KB
-rw-r--r--
py27compat.py
0.523 KB
-rw-r--r--
py27compat.pyc
1.021 KB
-rw-r--r--
py27compat.pyo
1.021 KB
-rw-r--r--
py31compat.py
1.164 KB
-rw-r--r--
py31compat.pyc
1.854 KB
-rw-r--r--
py31compat.pyo
1.854 KB
-rw-r--r--
py33compat.py
1.154 KB
-rw-r--r--
py33compat.pyc
1.68 KB
-rw-r--r--
py33compat.pyo
1.68 KB
-rw-r--r--
py36compat.py
2.823 KB
-rw-r--r--
py36compat.pyc
2.795 KB
-rw-r--r--
py36compat.pyo
2.795 KB
-rw-r--r--
sandbox.py
13.941 KB
-rw-r--r--
sandbox.pyc
18.457 KB
-rw-r--r--
sandbox.pyo
18.457 KB
-rw-r--r--
script (dev).tmpl
0.196 KB
-rw-r--r--
script.tmpl
0.135 KB
-rw-r--r--
site-patch.py
2.253 KB
-rw-r--r--
site-patch.pyc
1.698 KB
-rw-r--r--
site-patch.pyo
1.698 KB
-rw-r--r--
ssl_support.py
8.293 KB
-rw-r--r--
ssl_support.pyc
8.316 KB
-rw-r--r--
ssl_support.pyo
8.316 KB
-rw-r--r--
unicode_utils.py
0.973 KB
-rw-r--r--
unicode_utils.pyc
1.438 KB
-rw-r--r--
unicode_utils.pyo
1.438 KB
-rw-r--r--
version.py
0.141 KB
-rw-r--r--
version.pyc
0.314 KB
-rw-r--r--
version.pyo
0.314 KB
-rw-r--r--
wheel.py
7.061 KB
-rw-r--r--
wheel.pyc
7.171 KB
-rw-r--r--
wheel.pyo
7.138 KB
-rw-r--r--
windows_support.py
0.697 KB
-rw-r--r--
windows_support.pyc
1.244 KB
-rw-r--r--
windows_support.pyo
1.244 KB
-rw-r--r--