Files
macports-ports/python/py-lap/files/patch-cython-setup.py.diff
2025-07-30 10:47:59 -04:00

12 lines
466 B
Diff

--- setup.py.orig 2025-07-29 12:40:23
+++ setup.py 2025-07-29 12:40:55
@@ -31,7 +31,7 @@
import subprocess
cpp_file = os.path.splitext(cython_file)[0] + ".cpp"
flags = ['--fast-fail', '--cplus']
- rc = subprocess.call(['cython'] + flags + ['-o', cpp_file, cython_file])
+ rc = subprocess.call(['@@CYTHON_BIN@@'] + flags + ['-o', cpp_file, cython_file])
if rc != 0:
raise Exception('Cythonizing %s failed' % cython_file)
else: