Cython on build-time (except on source tarballs)
Hi, Here's a suggestion on how to get Cython as a build-time dependency, so that building from source tarballs (sdist) doesn't require it: https://github.com/pv/scipy-work/compare/cython-builddep I'm not completely sure this is the way to implement it, but I think getting rid of the committed-in C sources would be useful for the long run. Requiring people who want to compile from Git to have Cython installed is perhaps not such a big deal, since Cython is fairly easy to install everywhere. We'll still need the committed-in generated .pyx files, though... -- Pauli Virtanen
On Fri, Dec 21, 2012 at 11:24 PM, Pauli Virtanen <pav@iki.fi> wrote:
Hi,
Here's a suggestion on how to get Cython as a build-time dependency, so that building from source tarballs (sdist) doesn't require it:
https://github.com/pv/scipy-work/compare/cython-builddep
I'm not completely sure this is the way to implement it, but I think getting rid of the committed-in C sources would be useful for the long run.
Requiring people who want to compile from Git to have Cython installed is perhaps not such a big deal, since Cython is fairly easy to install everywhere.
We'll still need the committed-in generated .pyx files, though...
That looks pretty good to me. Here's a minor change, so that you don't need to install Cython for each Python version: https://github.com/rgommers/scipy/tree/cython-builddep Ralf
participants (2)
-
Pauli Virtanen -
Ralf Gommers