summaryrefslogtreecommitdiff
path: root/distutils2/command/build_clib.py
diff options
context:
space:
mode:
authorTarek Ziade <tarek@ziade.org>2010-11-11 17:51:58 +0100
committerTarek Ziade <tarek@ziade.org>2010-11-11 17:51:58 +0100
commit9b3dde4072db4356e4a08614e7b266f11a05554d (patch)
tree81e93154eddae10e4fcf481a62152701f6aae7cd /distutils2/command/build_clib.py
parentcb7b234fa42bb5f66c4c004c46fbf89ccee78791 (diff)
downloaddisutils2-9b3dde4072db4356e4a08614e7b266f11a05554d.tar.gz
moved general functions out of ccompiler
Diffstat (limited to 'distutils2/command/build_clib.py')
-rw-r--r--distutils2/command/build_clib.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/distutils2/command/build_clib.py b/distutils2/command/build_clib.py
index 5f20bb0..de49191 100644
--- a/distutils2/command/build_clib.py
+++ b/distutils2/command/build_clib.py
@@ -18,11 +18,12 @@ module."""
import os
from distutils2.command.cmd import Command
from distutils2.errors import DistutilsSetupError
-from distutils2.compiler.ccompiler import customize_compiler
+from distutils2.compiler import customize_compiler
from distutils2 import logger
+
def show_compilers():
- from distutils2.compiler.ccompiler import show_compilers
+ from distutils2.compiler import show_compilers
show_compilers()
@@ -94,7 +95,7 @@ class build_clib(Command):
return
# Yech -- this is cut 'n pasted from build_ext.py!
- from distutils2.compiler.ccompiler import new_compiler
+ from distutils2.compiler import new_compiler
self.compiler = new_compiler(compiler=self.compiler,
dry_run=self.dry_run,
force=self.force)