[Numpy-discussion] running a development branch?

Ralf Gommers ralf.gommers@googlemail....
Sun Jul 1 15:35:50 CDT 2012

On Sun, Jul 1, 2012 at 10:29 PM, Henry Gomersall <heng@cantab.net> wrote:

> Forgive me for what seems to me should be an obvious question.
> How do people run development code without the need to build an entire
> source distribution each time? My current strategy is to develop in a
> virtualenv and then copy the changes to my numpy fork when done, but
> there are lots of obvious problems with that.
> Trying to run modules in the numpy branch gives me the error about
> trying to import numpy from its source tree.

You need an in-place build, "python setup.py build_ext -i" (or its Bento or
Numscons equivalent) and then add the base dir of the numpy repo to your
PYTHONPATH. You can find some more details in the 2nd question of the FAQ
of https://github.com/scipy/scipy/blob/master/HACKING.rst.txt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120701/5221400d/attachment-0001.html 

More information about the NumPy-Discussion mailing list