From 158885c6bb365142772cf3bc69cba90db3e25a3c Mon Sep 17 00:00:00 2001 From: Vincent Klein Date: Wed, 4 Jul 2018 09:23:26 +0200 Subject: [PATCH] Trac #25759: add some doc in .patch file add cython as dependency of scipy --- build/pkgs/scipy/dependencies | 2 +- build/pkgs/scipy/patches/fix-scipy-0.19.1-for-python37.patch | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/build/pkgs/scipy/dependencies b/build/pkgs/scipy/dependencies index 51d2af0a0d7..a190d1f4a7a 100644 --- a/build/pkgs/scipy/dependencies +++ b/build/pkgs/scipy/dependencies @@ -1,4 +1,4 @@ -$(PYTHON) $(BLAS) gfortran numpy | pip +$(PYTHON) $(BLAS) gfortran numpy | pip cython ---------- All lines of this file are ignored except the first. diff --git a/build/pkgs/scipy/patches/fix-scipy-0.19.1-for-python37.patch b/build/pkgs/scipy/patches/fix-scipy-0.19.1-for-python37.patch index b64ffdf7780..ca75d977b2b 100644 --- a/build/pkgs/scipy/patches/fix-scipy-0.19.1-for-python37.patch +++ b/build/pkgs/scipy/patches/fix-scipy-0.19.1-for-python37.patch @@ -1,5 +1,10 @@ See https://trac.sagemath.org/ticket/25759 +- Remove cythonize.dat file to force cythonizing. +This file the hashcodes used to define if the *.pyx files has been modified. +- Modify setup.py to launch cythonize even for sources +releases. + diff --git a/cythonize.dat b/cythonize.dat deleted file mode 100644 index 3d5d4d8..0000000