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. Cheers, Henry
On Sun, Jul 1, 2012 at 10:29 PM, Henry Gomersall
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 Ralf
participants (2)
-
Henry Gomersall
-
Ralf Gommers