summaryrefslogtreecommitdiff
path: root/numpy/distutils/fcompiler
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2020-09-04 06:28:07 -0600
committerGitHub <noreply@github.com>2020-09-04 06:28:07 -0600
commit02746c9f20b8f491fd2cd40d8807b24ddc6ce26b (patch)
tree17e53de9988bb3bd316f10c8c39c55d7ff577532 /numpy/distutils/fcompiler
parenta8c8b63b70ce3303e56e2e89aefa7c9995cc2443 (diff)
parentf8f08a746aebc2eb21c916c12399f79c319d808d (diff)
downloadnumpy-02746c9f20b8f491fd2cd40d8807b24ddc6ce26b.tar.gz
Merge pull request #17223 from mattip/setuptools1
MAINT: use sysconfig not distutils.sysconfig where possible
Diffstat (limited to 'numpy/distutils/fcompiler')
-rw-r--r--numpy/distutils/fcompiler/gnu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/fcompiler/gnu.py b/numpy/distutils/fcompiler/gnu.py
index 7004b5d80..0d9d769c2 100644
--- a/numpy/distutils/fcompiler/gnu.py
+++ b/numpy/distutils/fcompiler/gnu.py
@@ -231,7 +231,7 @@ class GnuFCompiler(FCompiler):
def _c_arch_flags(self):
""" Return detected arch flags from CFLAGS """
- from distutils import sysconfig
+ import sysconfig
try:
cflags = sysconfig.get_config_vars()['CFLAGS']
except KeyError: