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

Method generate_a_pyrex_source

numpy/distutils/command/build_src.py:458–464  ·  view source on GitHub ↗

Pyrex is not supported, but some projects monkeypatch this method. That allows compiling Cython code, see gh-6955. This method will remain here for compatibility reasons.

(self, base, ext_name, source, extension)

Source from the content-addressed store, hash-verified

456 return new_sources
457
458 def generate_a_pyrex_source(self, base, ext_name, source, extension):
459 """Pyrex is not supported, but some projects monkeypatch this method.
460
461 That allows compiling Cython code, see gh-6955.
462 This method will remain here for compatibility reasons.
463 """
464 return []
465
466 def f2py_sources(self, sources, extension):
467 new_sources = []

Callers 1

pyrex_sourcesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected