[SciPy-user] 1.3.0b1 howto test
Thu Mar 19 12:49:21 CDT 2009
Robert Kern wrote:
> On Thu, Mar 19, 2009 at 08:04, David Cournapeau <email@example.com>
>> On Thu, Mar 19, 2009 at 9:48 PM, Neal Becker <firstname.lastname@example.org> 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-
>>> 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-
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