Commit 31fe44bb authored by Robert Bradshaw's avatar Robert Bradshaw

Better compile message.

parent def753ed
......@@ -474,7 +474,10 @@ def cythonize(module_list, exclude=[], nthreads=0, aliases=None, **options):
dep_timestamp, dep = deps.newest_dependency(source)
priority = 2 - (dep in deps.immediate_dependencies(source))
if c_timestamp < dep_timestamp:
print("Compiling %s because it depends on %s" % (source, dep))
if source == dep:
print("Cythonizing %s because it changed." % source)
else:
print("Cythonizing %s because it depends on %s." % (source, dep))
to_compile.append((priority, source, c_file, options))
new_sources.append(c_file)
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