diff options
author | mattip <matti.picus@gmail.com> | 2020-07-13 00:38:49 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2020-07-13 00:38:49 +0300 |
commit | 68afa1629cc4bcbf83ab17b2572001458ade51e1 (patch) | |
tree | 6e1a51a8df088fa5db360c75abc7706964fa5145 /runtests.py | |
parent | fe867a533ebda36942c9d148858658c5b9be7500 (diff) | |
download | numpy-68afa1629cc4bcbf83ab17b2572001458ade51e1.tar.gz |
MAINT: one more place where distutils is imported
Diffstat (limited to 'runtests.py')
-rwxr-xr-x | runtests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtests.py b/runtests.py index beaf668d6..17620478d 100755 --- a/runtests.py +++ b/runtests.py @@ -341,6 +341,9 @@ def build_project(args): """ + # from setuptools v49.2.0, setuptools warns if distutils is imported first, + # so pre-emptively import setuptools + import setuptools import distutils.sysconfig root_ok = [os.path.exists(os.path.join(ROOT_DIR, fn)) |