from distutils.file_util import move_file
from distutils.dir_util import mkpath
from distutils.dep_util import newer_pairwise, newer_group
+from distutils.sysconfig import python_build
from distutils.util import split_quoted, execute
from distutils import log
extra = []
# Get the list of expected output (object) files
- objects = self.object_filenames(sources, 0, outdir)
+ objects = self.object_filenames(sources,
+ strip_dir=python_build,
+ output_dir=outdir)
assert len(objects) == len(sources)
# XXX should redo this code to eliminate skip_source entirely.
which source files can be skipped.
"""
# Get the list of expected output (object) files
- objects = self.object_filenames(sources, strip_dir=0,
+ objects = self.object_filenames(sources, strip_dir=python_build,
output_dir=output_dir)
assert len(objects) == len(sources)