mirror of https://github.com/python/cpython
Backport 53776: Ignore directory time stamps
when considering whether to rerun libffi configure.
This commit is contained in:
parent
1e335b2968
commit
d1a29c5dee
3
setup.py
3
setup.py
|
@ -1316,7 +1316,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