Ignore directory time stamps when considering

whether to rerun libffi configure.
This commit is contained in:
Martin v. Löwis 2007-02-14 11:30:56 +00:00
parent f228482735
commit f1a4aa340e
1 changed files with 2 additions and 1 deletions

View File

@ -1319,7 +1319,8 @@ class PyBuildExt(build_ext):
from distutils.dep_util import newer_group
config_sources = [os.path.join(ffi_srcdir, fname)
for fname in os.listdir(ffi_srcdir)]
for fname in os.listdir(ffi_srcdir)
if os.path.isfile(os.path.join(ffi_srcdir, fname))]
if self.force or newer_group(config_sources,
ffi_configfile):
from distutils.dir_util import mkpath