• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1"""distutils
2
3The main package for the Python Module Distribution Utilities.  Normally
4used from a setup script as
5
6   from distutils.core import setup
7
8   setup (...)
9"""
10
11import sys
12import warnings
13
14__version__ = sys.version[:sys.version.index(' ')]
15
16_DEPRECATION_MESSAGE = ("The distutils package is deprecated and slated for "
17                        "removal in Python 3.12. Use setuptools or check "
18                        "PEP 632 for potential alternatives")
19warnings.warn(_DEPRECATION_MESSAGE,
20              DeprecationWarning, 2)
21