[SciPy-user] Matlab IO -- can others with matlab test this bug?

David Cournapeau david@ar.media.kyoto-u.ac...
Tue Jul 29 07:37:30 CDT 2008


Zachary Pincus wrote:
>
> Perhaps some others can chime in with more "official" methods, but I  
> typically do one of several things to test SVN versions:
>   

On Unix, a nice and easy way to easily switch between different numpy
installs without touching at all the environment is stow. Basically what
you do once stow is installed is:

python setup.py install --prefix=SOMEPATH/stow/numpy1
python setup.py install --prefix=SOMEPATH/stow/numpy2

And then stow makes link between the 'real' numpy and the one you want:

stow numpy1 -> numpy1 is used
stow -R numpy1 -> numpy1 is disabled
stow numpy2 -> numpy2 is enabled

I switch between many numpy configurations (one which only uses released
versions for 'real' work, many other with various compilers combination
to test the build system). It also enables true uninstallation, since
any installed version is self-contained in one directory (you can rm -rf
the directory without any chance of removing something unrelated).

cheers,

David


More information about the SciPy-user mailing list