module documentation
Monkey patching of distutils.
Function | get |
Undocumented |
Function | get |
Protect against re-patching the distutils if reloaded |
Function | get |
Undocumented |
Function | patch |
Undocumented |
Function | patch |
Patch functions in distutils to use standalone Microsoft Visual C++ compilers. |
Function | patch |
Patch func_name in target_mod with replacement |
Function | _get |
Returns the bases classes for cls sorted by the MRO. |
Function | _patch |
Patch write_pkg_file and read_pkg_file for higher metadata standards |
Protect against re-patching the distutils if reloaded Also ensures that no other distutils extension monkeypatched the distutils first.
Patch func_name in target_mod with replacement Important - original must be resolved by name to avoid patching an already patched function.
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.