__init__.py 537 B

123456789101112131415161718192021222324
  1. """distutils
  2. The main package for the Python Module Distribution Utilities. Normally
  3. used from a setup script as
  4. from distutils.core import setup
  5. setup (...)
  6. """
  7. import sys
  8. import importlib
  9. __version__ = sys.version[: sys.version.index(' ')]
  10. try:
  11. # Allow Debian and pkgsrc (only) to customize system
  12. # behavior. Ref pypa/distutils#2 and pypa/distutils#16.
  13. # This hook is deprecated and no other environments
  14. # should use it.
  15. importlib.import_module('_distutils_system_mod')
  16. except ImportError:
  17. pass