diff options
author | mattip <matti.picus@gmail.com> | 2020-09-02 15:44:35 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2020-09-02 15:44:35 +0300 |
commit | 42f9d02a249103fd024241a17ba5896fd2e18bff (patch) | |
tree | 666684f6cf30d81ad6e3ec53a09874416dc60cea /numpy/distutils/fcompiler/gnu.py | |
parent | db866874ccb8c8c814df57eb1edca4fd05eb1753 (diff) | |
download | numpy-42f9d02a249103fd024241a17ba5896fd2e18bff.tar.gz |
MAINT: use sysconfig not distutils.sysconfig where possible
Diffstat (limited to 'numpy/distutils/fcompiler/gnu.py')
-rw-r--r-- | numpy/distutils/fcompiler/gnu.py | 2 |
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: |