From d1a29c5dee2d052640661b768af672fd118d0b2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Wed, 14 Feb 2007 12:53:41 +0000 Subject: [PATCH] Backport 53776: Ignore directory time stamps when considering whether to rerun libffi configure. --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 1e5e6e6b3be..6f60a9a95de 100644 --- a/setup.py +++ b/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