summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/command/build_clib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/packaging/command/build_clib.py')
-rw-r--r--Lib/packaging/command/build_clib.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/packaging/command/build_clib.py b/Lib/packaging/command/build_clib.py
index 4a24996..5388ccd 100644
--- a/Lib/packaging/command/build_clib.py
+++ b/Lib/packaging/command/build_clib.py
@@ -16,7 +16,7 @@ distribution and needed by extension modules.
import os
from packaging.command.cmd import Command
from packaging.errors import PackagingSetupError
-from packaging.compiler import customize_compiler
+from packaging.compiler import customize_compiler, new_compiler
from packaging import logger
@@ -93,7 +93,6 @@ class build_clib(Command):
return
# Yech -- this is cut 'n pasted from build_ext.py!
- from packaging.compiler import new_compiler
self.compiler = new_compiler(compiler=self.compiler,
dry_run=self.dry_run,
force=self.force)