Skip to content
Snippets Groups Projects
Commit 05ebc353 authored by Christoph Groth's avatar Christoph Groth
Browse files

setup.py: fix dependency handling for build.conf

parent 526f61ae
No related branches found
No related tags found
No related merge requests found
......@@ -414,6 +414,10 @@ def ext_modules(extensions):
complain_cython_unavailable()
exit(1)
for f in pyx_files + kwrds.get('depends', []):
if f == CONFIG_FILE:
# The config file is only a dependency for the compilation
# of the cythonized file, not for the cythonization.
continue
if os.stat(f).st_mtime > cythonized_oldest:
msg = "error: {0} is newer than its source file, but "
if cythonize and not cython_version:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment