diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2016-08-19 16:02:39 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-08-19 16:02:39 -0400 |
commit | a3a04186f0b0b8fb9206f2813a768d655a7acc04 (patch) | |
tree | af057825aaac1016391556e60ac729eef0776f71 | |
parent | c7ee084a4e94b2061f50b7a6633f814cf3caf615 (diff) | |
download | external_python_setuptools-a3a04186f0b0b8fb9206f2813a768d655a7acc04.tar.gz external_python_setuptools-a3a04186f0b0b8fb9206f2813a768d655a7acc04.tar.bz2 external_python_setuptools-a3a04186f0b0b8fb9206f2813a768d655a7acc04.zip |
Move import to top
-rw-r--r-- | setuptools/command/build_ext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/build_ext.py b/setuptools/command/build_ext.py index 81d0c32c..df8f03fc 100644 --- a/setuptools/command/build_ext.py +++ b/setuptools/command/build_ext.py @@ -1,6 +1,7 @@ import os import sys import itertools +import imp from distutils.command.build_ext import build_ext as _du_build_ext from distutils.file_util import copy_file from distutils.ccompiler import new_compiler @@ -61,7 +62,6 @@ if_dl = lambda s: s if have_rtld else '' def get_abi3_suffix(): """Return the file extension for an abi3-compliant Extension()""" - import imp for suffix, _, _ in (s for s in imp.get_suffixes() if s[2] == imp.C_EXTENSION): if '.abi3' in suffix: # Unix return suffix |