[SciPy-user] 1.3.0b1 howto test

Neal Becker ndbecker2 at gmail.com
Thu Mar 19 13:49:21 EDT 2009


Robert Kern wrote:

> On Thu, Mar 19, 2009 at 08:04, David Cournapeau <cournape at gmail.com>
> wrote:
>> On Thu, Mar 19, 2009 at 9:48 PM, Neal Becker <ndbecker2 at gmail.com> wrote:
>>> howto test without installing?
>>>
>>> PYTHONPATH=~/numpy-1.3.0b1/build/lib.linux-x86_64-2.5/ python -c 'import
>>> numpy; numpy.test()'
>>> Running unit tests for numpy
>>> NumPy version 1.3.0b1
>>> NumPy is installed in /home/nbecker/numpy-1.3.0b1/build/lib.linux-
>>> x86_64-2.5/numpy
>>> Python version 2.5.2 (r252:60911, Sep 30 2008, 15:42:03) [GCC 4.3.2
>>> 20080917 (Red Hat 4.3.2-4)]
>>> nose version 0.10.3
>>
>> The cause is usually that your scripts are not executable - and nose
>> refuse to test them. This happens when the so called "easy" install
>> script is used to install
> 
> NumPy is installed in /home/nbecker/numpy-1.3.0b1/build/lib.linux-
> x86_64-2.5/numpy
> 

I think the easiest way to test numpy without installing into system is to 
use virtualenv?  That's what I did.  If this is the best choice, maybe 
mention this in the documentation.





More information about the SciPy-User mailing list