/opt/alt/python38/lib/python3.8/site-packages/setuptools/__pycache__
NameSizeModeActions
archive_util.cpython-38.pyc57200644editdlrm
build_meta.cpython-38.pyc89520644editdlrm
config.cpython-38.pyc198810644editdlrm
depends.cpython-38.pyc51980644editdlrm
dep_util.cpython-38.pyc8270644editdlrm
dist.cpython-38.pyc362120644editdlrm
errors.cpython-38.pyc8200644editdlrm
extension.cpython-38.pyc19100644editdlrm
glob.cpython-38.pyc36740644editdlrm
installer.cpython-38.pyc27550644editdlrm
launch.cpython-38.pyc8510644editdlrm
lib2to3_ex.cpython-38.pyc26670644editdlrm
monkey.cpython-38.pyc45890644editdlrm
msvc.cpython-38.pyc427330644editdlrm
namespaces.cpython-38.pyc35500644editdlrm
package_index.cpython-38.pyc325000644editdlrm
py34compat.cpython-38.pyc4540644editdlrm
sandbox.cpython-38.pyc154150644editdlrm
unicode_utils.cpython-38.pyc10900644editdlrm
version.cpython-38.pyc2960644editdlrm
wheel.cpython-38.pyc72020644editdlrm
windows_support.cpython-38.pyc9930644editdlrm
_deprecation_warning.cpython-38.pyc5200644editdlrm
_imp.cpython-38.pyc20590644editdlrm
__init__.cpython-38.pyc86240644editdlrm
Edit: /opt/alt/python38/lib/python3.8/site-packages/setuptools/__pycache__/monkey.cpython-38.pyc (4589B)
U aa@sdZddlZddlZddlZddlZddlZddlmZddl Z ddl Z gZ ddZ ddZ dd Zd d Zd d ZddZddZddZdS)z Monkey patching of distutils. N) import_modulecCs"tdkr|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)platformpython_implementation __bases__inspectgetmro)clsr 9/tmp/pip-install-7tp5dx2w/setuptools/setuptools/monkey.py_get_mros  r cCs.t|trtnt|tjrtndd}||S)NcSsdS)Nr )itemr r r (zget_unpatched..) isinstancetypeget_unpatched_classtypes FunctionTypeget_unpatched_function)r lookupr r r get_unpatched$s rcCs:ddt|D}t|}|jds6d|}t||S)zProtect against re-patching the distutils if reloaded Also ensures that no other distutils extension monkeypatched the distutils first. css|]}|jds|VqdS) setuptoolsN) __module__ startswith).0r r r r 3s z&get_unpatched_class.. distutilsz(distutils has already been patched by %r)r nextrrAssertionError)r Zexternal_basesbasemsgr r r r-s rcCstjtj_tjdk}|r"tjtj_tjdkp^dtjko@dknp^dtjkoZdkn}|rrd}|tjj _ t tj tjtj fD]}tj j|_qtjjtj_tjjtj_dtjkrtjjtjd_tdS)N)r") )r")r"r')r"r#zhttps://upload.pypi.org/legacy/zdistutils.command.build_ext)rCommandrcoresys version_infofindallfilelistconfig PyPIRCCommandDEFAULT_REPOSITORY_patch_distribution_metadatadistcmd Distribution extension Extensionmodules#patch_for_msvc_specialized_compiler)Zhas_issue_12885Zneeds_warehouseZ warehousemoduler 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)getattrrr3setattrrDistributionMetadata)attrnew_valr r r r2fs 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_nameoriginalr r r patch_funcms rIcCs t|dS)NrC)r>) candidater r r r~srcstdtdkrdSfdd}t|d}t|d}zt|dt|d Wntk rlYnXzt|d Wntk rYnXzt|d Wntk rYnXdS) z\ Patch functions in distutils to use standalone Microsoft Visual C++ compilers. zsetuptools.msvcWindowsNcsLd|kr dnd}||d}t|}t|}t||sBt||||fS)zT Prepare the parameters for patch_func to patch indicated function. msvc9Zmsvc9_Zmsvc14__)lstripr>rhasattr ImportError)mod_namerGZ repl_prefixZ repl_namereplmodZmsvcr r patch_paramss  z9patch_for_msvc_specialized_compiler..patch_paramszdistutils.msvc9compilerzdistutils._msvccompilerZfind_vcvarsallZquery_vcvarsallZ _get_vc_envZgen_lib_options)rrsystem functoolspartialrIrP)rUrLZmsvc14r rTr r9s&    r9)__doc__r+distutils.filelistrrrrW importlibrrr__all__r rrr;r2rIrr9r r r r s"  '