diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2020-07-26 10:53:31 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2020-07-26 12:51:58 -0400 |
commit | 1251a231ad75fa649da700645690eb3c0a348f08 (patch) | |
tree | 408ad30563d3d86691e1f5928c4b831298ccba6b /setup.py | |
parent | 83a85a71cd779b1b1b3a44e21cc198264650da46 (diff) | |
download | external_python_setuptools-1251a231ad75fa649da700645690eb3c0a348f08.tar.gz external_python_setuptools-1251a231ad75fa649da700645690eb3c0a348f08.tar.bz2 external_python_setuptools-1251a231ad75fa649da700645690eb3c0a348f08.zip |
Replace install behavior on import with direct invocation (now that 'enabled' logic is duplicated in pth file).
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ class install_with_pth(install): _pth_contents = textwrap.dedent(""" import os enabled = os.environ.get('SETUPTOOLS_USE_DISTUTILS') == 'local' - enabled and __import__('_distutils_hack.install') + enabled and __import__('_distutils_hack').add_shim() """).lstrip().replace('\n', '; ') def initialize_options(self): |