aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorshadchin <shadchin@yandex-team.com>2023-12-12 21:14:39 +0300
committershadchin <shadchin@yandex-team.com>2023-12-12 21:39:21 +0300
commit2ce9cccb9b0bdd4cd7a3491dc5cbf8687cda51de (patch)
treea412d03dc02b70689ae5cb6dd6178c79f0c573f5 /contrib
parent4c3a87e9ad4684ade203e501dd9ce64cd95d5a0e (diff)
downloadydb-2ce9cccb9b0bdd4cd7a3491dc5cbf8687cda51de.tar.gz
Support override `distutils` from `setuptools`
Diffstat (limited to 'contrib')
-rw-r--r--contrib/python/numpy/py3/ya.make4
-rw-r--r--contrib/python/setuptools/py3/_distutils_hack/__init__.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/contrib/python/numpy/py3/ya.make b/contrib/python/numpy/py3/ya.make
index 52ce727235..cc5ca1691b 100644
--- a/contrib/python/numpy/py3/ya.make
+++ b/contrib/python/numpy/py3/ya.make
@@ -35,8 +35,8 @@ NO_LINT()
NO_CHECK_IMPORTS(
numpy._pyinstaller.*
numpy.core.umath_tests
- numpy.distutils.command.*
- numpy.distutils.msvc9compiler
+ numpy.distutils.*
+ numpy.f2py.*
)
CFLAGS(
diff --git a/contrib/python/setuptools/py3/_distutils_hack/__init__.py b/contrib/python/setuptools/py3/_distutils_hack/__init__.py
index 51da093e5d..b951c2defd 100644
--- a/contrib/python/setuptools/py3/_distutils_hack/__init__.py
+++ b/contrib/python/setuptools/py3/_distutils_hack/__init__.py
@@ -44,7 +44,7 @@ def enabled():
"""
Allow selection of distutils by environment variable.
"""
- which = os.environ.get('SETUPTOOLS_USE_DISTUTILS', 'stdlib')
+ which = os.environ.get('SETUPTOOLS_USE_DISTUTILS', 'local')
return which == 'local'