mirror of
https://github.com/python/cpython.git
synced 2025-09-17 06:06:25 +00:00
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.
This commit is contained in:
parent
fdffca27c1
commit
478b99b89f
2 changed files with 48 additions and 2 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue