[SciPy-user] Testing build before installing (numpy and scipy)

Warren Weckesser warren.weckesser@gmail....
Wed Apr 16 17:11:51 CDT 2008


On Wed, Apr 16, 2008 at 5:27 PM, Stéfan van der Walt <stefan@sun.ac.za>
wrote:

> Hi Warren
>
> On 16/04/2008, Warren Weckesser <warren.weckesser@gmail.com> wrote:
> > 1.  numpy's setup.py doesn't have an "uninstall" command.  Is that
> normal?
> > What is the standard way to remove something that I installed using
> > setup.py?  I want to clean out my Python2.4 broken installations.
>
> Not as far as I know -- I always erase the directories by hand.
>

Seems like a significant feature to be missing.


> > 2.  Having just installed python 2.5.2, I ran "setup.py build" in the
> > numpy-1.0.4 directory.  It generated lots of output, but I don't know if
> > everything built correctly.  There are some error messages about
> > _configtest.c having errors. Can I test the build without first
> installing
> > it?
>
> python setup.py install --prefix=${HOME}/test_install
>
> Then
>
> export
> PYTHONPATH=${HOME}/test_install/lib/python2.5/site/packages:${PYTHONPATH}
>
> Now you can run Python, import numpy, and execute the test suite.
>

Thanks!  Works great.


Warren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20080416/814dccf9/attachment.html 


More information about the SciPy-user mailing list