summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2007-02-14 11:30:56 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2007-02-14 11:30:56 (GMT)
commitf1a4aa340ea3794a6cc2d54fb6647b4d7b61f275 (patch)
treef112d6736def89f918058e242cb624097bd05497 /setup.py
parentf22848273505e74af301aa6ccc10d978d32afabc (diff)
downloadcpython-f1a4aa340ea3794a6cc2d54fb6647b4d7b61f275.zip
cpython-f1a4aa340ea3794a6cc2d54fb6647b4d7b61f275.tar.gz
cpython-f1a4aa340ea3794a6cc2d54fb6647b4d7b61f275.tar.bz2
Ignore directory time stamps when considering
whether to rerun libffi configure.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index c1d5f00..32ea77a 100644
--- a/setup.py
+++ b/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