Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Only make dep file for recursive

  • Loading branch information...
commit 9129b4104a313d7f60976d4b6331c0a1a2dd63f3 1 parent 70b3c71
@robertwb robertwb authored
Showing with 3 additions and 2 deletions.
  1. +1 −1  Cython/Compiler/Main.py
  2. +2 −1  Cython/Compiler/ModuleNode.py
View
2  Cython/Compiler/Main.py
@@ -223,7 +223,7 @@ def is_package_dir(self, dir_path):
return 1
def read_dependency_file(self, source_path):
- dep_path = replace_suffix(source_path, ".dep")
+ dep_path = Utils.replace_suffix(source_path, ".dep")
if os.path.exists(dep_path):
f = open(dep_path, "rU")
chunks = [ line.strip().split(" ", 1)
View
3  Cython/Compiler/ModuleNode.py
@@ -54,7 +54,8 @@ def process_implementation(self, env, options, result):
if self.has_imported_c_functions():
self.module_temp_cname = env.allocate_temp_pyobject()
env.release_temp(self.module_temp_cname)
- self.generate_dep_file(env, result)
+ if options.recursive:
+ self.generate_dep_file(env, result)
self.generate_c_code(env, options, result)
self.generate_h_code(env, options, result)
self.generate_api_code(env, result)
Please sign in to comment.
Something went wrong with that request. Please try again.