_distutils_hack - pydoc - phpman

Look up a command

 

Markdown Format | JSON API | MCP Server Tool


Help on package _distutils_hack:

NAME
    _distutils_hack

PACKAGE CONTENTS
    override

CLASSES
    builtins.object
        DistutilsMetaFinder

    class DistutilsMetaFinder(builtins.object)
     |  Methods defined here:
     |
     |  find_spec(self, fullname, path, target=None)
     |
     |  spec_for_distutils(self)
     |
     |  spec_for_pip(self)
     |      Ensure stdlib distutils when running under pip.
     |      See pypa/pip#8761 for rationale.
     |
     |  ----------------------------------------------------------------------
     |  Static methods defined here:
     |
     |  pip_imported_during_build()
     |      Detect if pip is being imported in a build script. Ref #2355.
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

FUNCTIONS
    add_shim()

    clear_distutils()

    do_override()
        Ensure that the local copy of distutils is preferred over stdlib.

        See https://github.com/pypa/setuptools/issues/417#issuecomment-392298401
        for more motivation.

    enabled()
        Allow selection of distutils by environment variable.

    ensure_local_distutils()

    remove_shim()

    warn_distutils_present()

DATA
    DISTUTILS_FINDER = <_distutils_hack.DistutilsMetaFinder object>
    is_pypy = False

FILE
    /usr/lib/python3/dist-packages/_distutils_hack/__init__.py



Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 05:13 @216.73.216.198 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!