Sunday, December 06, 2009

buildout project that uses numpy

Here is an example buildout project that uses numpy:

If you have bazaar, you can check it out like so:

cd /tmp/
bzr branch lp:numpybuildout
cd numpybuildout/trunk/

To use distribute instead of setuptools use the -d flag of
python -d
>>> import numpy
>>> numpy.__file__

There you have it, a simple project that can download and build numpy off of the python package index and install it in it's own private directory for use.

update: It was broken for python2.6 and numpy 1.3. However it works again with numpy 1.4

No comments: