mirror of https://github.com/python/cpython
Ignore directory time stamps when considering
whether to rerun libffi configure.
This commit is contained in:
parent
f228482735
commit
f1a4aa340e
3
setup.py
3
setup.py
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue