summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-06-11 05:28:45 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-06-11 05:28:45 (GMT)
commit478b99b89f4b4d9c147b7e37aa69ffe726243cf6 (patch)
treef454b31ffb2a1e0ba695f25f130c63c123c1d854 /Lib/distutils
parentfdffca27c17876563b06bfe68b352245b2113304 (diff)
downloadcpython-478b99b89f4b4d9c147b7e37aa69ffe726243cf6.zip
cpython-478b99b89f4b4d9c147b7e37aa69ffe726243cf6.tar.gz
cpython-478b99b89f4b4d9c147b7e37aa69ffe726243cf6.tar.bz2
Add all of the distuils modules that don't seem to have explicit tests. :-(
Move an import in mworkscompiler so that this module can be imported on any platform. Hopefully this works on all platforms.
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/mwerkscompiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/mwerkscompiler.py b/Lib/distutils/mwerkscompiler.py
index 0de123d..343c6ce 100644
--- a/Lib/distutils/mwerkscompiler.py
+++ b/Lib/distutils/mwerkscompiler.py
@@ -18,7 +18,6 @@ from distutils.ccompiler import \
import distutils.util
import distutils.dir_util
from distutils import log
-import mkcwproject
class MWerksCompiler (CCompiler) :
"""Concrete class that implements an interface to MetroWerks CodeWarrior,
@@ -188,6 +187,7 @@ class MWerksCompiler (CCompiler) :
# doesn't have a clue about our working directory.
xmlfilename = os.path.join(os.getcwd(), os.path.join(build_temp, xmlname))
log.debug("\tCreate XML file %s", xmlfilename)
+ import mkcwproject
xmlbuilder = mkcwproject.cwxmlgen.ProjectBuilder(settings)
xmlbuilder.generate()
xmldata = settings['tmp_projectxmldata']