pySIML is distributed as a source tarball using a mostly-standard Python distutils-based setup procedure. After untarring the package, most people should be able to run:
python setup.py build
sudo python setup.py install
In some cases, the setup script will not be able to detect one or more settings properly, in which case, the configure option can be used:
python setup.py configure <options>
The following options are available:
- --enable-openmp: Force pySIML to be built with OpenMP support.
- --disable-openmp: Force pySIML to be built without OpenMP support.
- --numpy-include=<dir>: Indicates that the C headers for numpy can be found in <dir>. Note that if, for example, arrayobject.h is in /usr/include/python2.5/numpy/arrayobject.h, <dir> should be specified as /usr/include/python2.5, NOT /usr/include/python2.5/numpy.
- --python-include=<dir>: Indicates that the C headers for Python (e.g., Python.h) can be found in <dir>.