next up previous contents
Next: Setting up to Run Up: Python Bindings Previous: How to Call Methods   Contents


Building Python Extension Modules

SIDL creates a Setup.in file that can be used to build the Python extension modules that you create. Copy Makefile.pre.in from your Python distribution into the directory containing Setup.in. There are three make variables you need to set when your building your Python extension module.

Here is a hypothetical example:

% make -f Makefile.pre.in SIDLLIBDIR=/usr/local/lib $\backslash$
SIDLPYHDRS=/usr/local/include SIDLHDRS=/usr/local/include/SIDL
% make SIDLLIBDIR=/usr/local/lib/libsidl.so $\backslash$
SIDLPYHDR=/usr/local/include SIDLHDRS=/usr/local/include/SIDL boot
It is unlikely that any installation actually uses those settings.


next up previous contents
Next: Setting up to Run Up: Python Bindings Previous: How to Call Methods   Contents


babel-0.8.4
users_guide Last Modified 2003-04-03

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