aboutsummaryrefslogtreecommitdiffstats
path: root/_distutils_importer/install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-07-19 21:36:33 -0400
committerJason R. Coombs <jaraco@jaraco.com>2020-07-19 21:40:52 -0400
commite371422476f51a83d27d70dc45bbfba1544aad55 (patch)
tree7ac4e9acc99b78835b3da2bde616ba4c452656b4 /_distutils_importer/install.py
parent85a0a9026d1b40448d1757ca6cd75e5cc2c50fc6 (diff)
downloadexternal_python_setuptools-e371422476f51a83d27d70dc45bbfba1544aad55.tar.gz
external_python_setuptools-e371422476f51a83d27d70dc45bbfba1544aad55.tar.bz2
external_python_setuptools-e371422476f51a83d27d70dc45bbfba1544aad55.zip
Consolidate distutils importing hacks into _distutils_importer package. Generate distutils-precedence.pth inline.
Diffstat (limited to '_distutils_importer/install.py')
-rw-r--r--_distutils_importer/install.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/_distutils_importer/install.py b/_distutils_importer/install.py
new file mode 100644
index 00000000..73f13b29
--- /dev/null
+++ b/_distutils_importer/install.py
@@ -0,0 +1,5 @@
+from . import enabled, add_shim
+
+
+if enabled():
+ add_shim()