summaryrefslogtreecommitdiffstats
path: root/third_party/python/setuptools/setuptools/_distutils/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/python/setuptools/setuptools/_distutils/__init__.py')
-rw-r--r--third_party/python/setuptools/setuptools/_distutils/__init__.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/python/setuptools/setuptools/_distutils/__init__.py b/third_party/python/setuptools/setuptools/_distutils/__init__.py
new file mode 100644
index 0000000000..1a188c35cb
--- /dev/null
+++ b/third_party/python/setuptools/setuptools/_distutils/__init__.py
@@ -0,0 +1,14 @@
+import sys
+import importlib
+
+__version__, _, _ = sys.version.partition(' ')
+
+
+try:
+ # Allow Debian and pkgsrc (only) to customize system
+ # behavior. Ref pypa/distutils#2 and pypa/distutils#16.
+ # This hook is deprecated and no other environments
+ # should use it.
+ importlib.import_module('_distutils_system_mod')
+except ImportError:
+ pass