(target, modules)
| 84 | |
| 85 | |
| 86 | def _generate_cython_from_files(target, modules): |
| 87 | contents = [ |
| 88 | """from __future__ import print_function |
| 89 | |
| 90 | # Important: Autogenerated file. |
| 91 | |
| 92 | # DO NOT edit manually! |
| 93 | # DO NOT edit manually! |
| 94 | """ |
| 95 | ] |
| 96 | |
| 97 | found = [] |
| 98 | for mod in modules: |
| 99 | found.append(mod.__file__) |
| 100 | contents.append(get_cython_contents(mod.__file__)) |
| 101 | |
| 102 | print("Generating cython from: %s" % (found,)) |
| 103 | |
| 104 | with open(target, "w") as stream: |
| 105 | stream.write("".join(contents)) |
| 106 | |
| 107 | |
| 108 | def generate_dont_trace_files(): |
no test coverage detected