File: cython3.patch

package info (click to toggle)
python-shapely 1.8.5-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,640 kB
  • sloc: python: 11,667; makefile: 98; sh: 77
file content (15 lines) | stat: -rw-r--r-- 553 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Use cython3 for Python 3.
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: not-needed

--- a/setup.py
+++ b/setup.py
@@ -339,7 +339,7 @@ except ImportError:
 try:
     if force_cython:
         log.info("Updating C extension with Cython.")
-        subprocess.check_call(["cython", "shapely/speedups/_speedups.pyx"])
+        subprocess.check_call(["cython3", "shapely/speedups/_speedups.pyx"])
 except (subprocess.CalledProcessError, OSError):
     log.warning("Could not (re)create C extension with Cython.")
     if force_cython: