cython is actually cython3
authorAndreas Tille <tille@debian.org>
Sat, 18 Feb 2023 15:12:32 +0000 (15:12 +0000)
committerDrew Parsons <dparsons@debian.org>
Sat, 18 Feb 2023 15:12:32 +0000 (15:12 +0000)
Last-Update: Tue, 13 Dec 2022 14:11:49 +0100

Gbp-Pq: Name find_cython3.patch

meson.build
scipy/_build_utils/cythoner.py

index 2a26d0cdd4e94e03209bdf72984bcee1db8b4e9a..6e23f1cc4caff2d678356bcda21a7c071348f4a9 100644 (file)
@@ -112,7 +112,7 @@ if not cc.links('', name: '-Wl,--version-script', args: ['-shared', version_link
   version_link_args = []
 endif
 
-cython = find_program('cython')
+cython = find_program('cython3')
 generate_f2pymod = files('tools/generate_f2pymod.py')
 tempita = files('scipy/_build_utils/tempita.py')
 
index 6ef7ad43c2d03997d63a3dde79c1104a1d4fe2c3..4b43656709ca723a661f82b56dc0bb145ace4fcc 100644 (file)
@@ -17,7 +17,7 @@ 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',
+    sbp.run(['cython3', '-3', '--fast-fail',
              '--output-file', out_fname,
              '--include-dir', os.getcwd()] +
             sys.argv[3:] + [in_fname],