MCPcopy Create free account
hub / github.com/numpy/numpy / process_pyx

Function process_pyx

tools/cythonize.py:42–48  ·  view source on GitHub ↗
(fromfile, tofile)

Source from the content-addressed store, hash-verified

40# Rules
41#
42def process_pyx(fromfile, tofile):
43 flags = ['-3', '--fast-fail']
44 if tofile.endswith('.cxx'):
45 flags.append('--cplus')
46
47 subprocess.check_call(
48 [sys.executable, '-m', 'cython'] + flags + ["-o", tofile, fromfile])
49
50
51def process_tempita_pyx(fromfile, tofile):

Callers 1

process_tempita_pyxFunction · 0.85

Calls 1

endswithMethod · 0.80

Tested by

no test coverage detected