diff options
Diffstat (limited to 'numpy/_build_utils/cythoner.py')
| -rw-r--r-- | numpy/_build_utils/cythoner.py | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/numpy/_build_utils/cythoner.py b/numpy/_build_utils/cythoner.py deleted file mode 100644 index 49fcbbd5b..000000000 --- a/numpy/_build_utils/cythoner.py +++ /dev/null @@ -1,37 +0,0 @@ -#!python3 -""" Scipy variant of Cython command - -Cython, as applied to single pyx file. - -Expects two arguments, infile and outfile. - -Other options passed through to cython command line parser. -""" - -import os -import os.path as op -import sys -import subprocess as sbp - - -def main(): - in_fname, out_fname = (op.abspath(p) for p in sys.argv[1:3]) - - sbp.run( - [ - 'cython', - '-3', - '--fast-fail', - '--output-file', - out_fname, - '--include-dir', - os.getcwd(), - ] - + sys.argv[3:] - + [in_fname], - check=True, - ) - - -if __name__ == '__main__': - main() |
