[Numpy-discussion] Making a minimalist NumPy
Travis E. Oliphant
Tue Nov 6 17:18:24 CST 2007
Benjamin M. Schwartz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> NumPy is included in the OLPC operating system, which is very constrained in
> space. Therefore, it would be nice to remove some subpackages to save a few
> megabytes. For example, the system does not include any Fortran code or
> compiler, so f2py (3.6 MB) seems superfluous. I also think the distutils
> subpackage (1.9M) is probably not necessary. Therefore, I have two questions.
> 1. Which packages do you think are necessary to have a functioning NumPy?
> 2. What is the easiest way to make (or get) a minimal NumPy installation? For
> example, would the scons/autoconf branch make this easier?
* You can get rid of f2py, oldnumeric, numarray, and testing.
* If you don't need to support building of c-extensions then distutils
can also be tossed.
To make it, you should be able to just edit the
script to remove adding those sub-packages.
python setup.py install
Let me know if you need further help.
More information about the Numpy-discussion