summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/command/build_clib.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-09-18 18:11:48 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-09-18 18:11:48 (GMT)
commit229011d949f40c898ca4e146f3120af326a3f40d (patch)
treea804e7c1bd83270b459a55d9cc104fcb805bbefd /Lib/packaging/command/build_clib.py
parent41479450ece3bb5c01a49b5efd5d17021ca401ec (diff)
downloadcpython-229011d949f40c898ca4e146f3120af326a3f40d.zip
cpython-229011d949f40c898ca4e146f3120af326a3f40d.tar.gz
cpython-229011d949f40c898ca4e146f3120af326a3f40d.tar.bz2
Make a number of small changes to ease the backport to distutils2
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)