Building Python Extension Modules

SIDL creates a setup.py file that can be used to build the Python extension modules that you create. setup.py uses the Python distutils package to build the Python extension modules. There are two extra command line arguments.

Normally, you need to specify the directory where the SIDL runtime headers and SIDL Python headers are stored with -include-dirs=. You also need to specify the directory where libsidl.so is stored. Here is a hypothetical example:

setup.py -include-dirs=/usr/local/include
-include-dirs=/usr/local/include/python
-library-dirs=/usr/local/lib build_ext -inplace
It is unlikely that any installation actually uses those settings.





babel-0.10.2
users_guide Last Modified 2005-03-23

http://www.llnl.gov/CASC/components
components@llnl.gov