24 lines
922 B
Diff
24 lines
922 B
Diff
--- setuptools-62.6.0/_distutils_hack/__init__.py.orig 2022-07-02 19:17:30.834207700 +0530
|
|
+++ setuptools-62.6.0/_distutils_hack/__init__.py 2022-07-02 19:18:18.557610400 +0530
|
|
@@ -44,7 +44,7 @@
|
|
"""
|
|
Allow selection of distutils by environment variable.
|
|
"""
|
|
- which = os.environ.get('SETUPTOOLS_USE_DISTUTILS', 'local')
|
|
+ which = os.environ.get('SETUPTOOLS_USE_DISTUTILS', 'stdlib')
|
|
return which == 'local'
|
|
|
|
|
|
|
|
--- setuptools-62.6.0/setup.py.orig 2022-07-02 19:21:11.701978000 +0530
|
|
+++ setuptools-62.6.0/setup.py 2022-07-02 19:21:37.757524100 +0530
|
|
@@ -54,7 +54,7 @@
|
|
_pth_contents = textwrap.dedent("""
|
|
import os
|
|
var = 'SETUPTOOLS_USE_DISTUTILS'
|
|
- enabled = os.environ.get(var, 'local') == 'local'
|
|
+ enabled = os.environ.get(var, 'stdlib') == 'local'
|
|
enabled and __import__('_distutils_hack').add_shim()
|
|
""").lstrip().replace('\n', '; ')
|
|
|