From: Robert Bradshaw Date: Fri, 10 Dec 2010 22:37:05 +0000 (-0800) Subject: Better compile message. X-Git-Tag: 0.14.rc0~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=31fe44bbf916369f43871ecfc32d7d96de4eacd4;p=cython.git Better compile message. --- diff --git a/Cython/Build/Dependencies.py b/Cython/Build/Dependencies.py index 0852751f..207f72cd 100644 --- a/Cython/Build/Dependencies.py +++ b/Cython/Build/Dependencies.py @@ -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: