[SciPy-Dev] Cython on build-time (except on source tarballs)

Ralf Gommers ralf.gommers at gmail.com
Wed Dec 26 16:52:45 EST 2012


On Fri, Dec 21, 2012 at 11:24 PM, Pauli Virtanen <pav at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20121226/70e33348/attachment.html>


More information about the SciPy-Dev mailing list