Commit 6922922e authored by Robert Bradshaw's avatar Robert Bradshaw

fix introduced bug

parent a0cbd421
...@@ -430,6 +430,7 @@ def create_extension_list(patterns, exclude=[], ctx=None, aliases=None): ...@@ -430,6 +430,7 @@ def create_extension_list(patterns, exclude=[], ctx=None, aliases=None):
module_name = name module_name = name
if module_name not in seen: if module_name not in seen:
kwds = deps.distutils_info(file, aliases, base).values kwds = deps.distutils_info(file, aliases, base).values
if base is not None:
for key, value in base.values.items(): for key, value in base.values.items():
if key not in kwds: if key not in kwds:
kwds[key] = value kwds[key] = value
...@@ -481,9 +482,9 @@ def cythonize(module_list, exclude=[], nthreads=0, aliases=None, quiet=False, ** ...@@ -481,9 +482,9 @@ def cythonize(module_list, exclude=[], nthreads=0, aliases=None, quiet=False, **
if c_timestamp < dep_timestamp: if c_timestamp < dep_timestamp:
if not quiet: if not quiet:
if source == dep: if source == dep:
print("Cythonizing %s because it changed." % source) print("Compiling %s because it changed." % source)
else: else:
print("Cythonizing %s because it depends on %s." % (source, dep)) print("Compiling %s because it depends on %s." % (source, dep))
to_compile.append((priority, source, c_file, options)) to_compile.append((priority, source, c_file, options))
new_sources.append(c_file) new_sources.append(c_file)
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment