Extension module interdependencies
Mark Rowe
bdash at gmx.net
Sun Feb 23 02:35:09 EST 2003
Hello,
I'm building a package with the layout:
pkg/
__init__.py
foo.so
bar.so
where foo.so and bar.so are extension modules written in C. In bar.so,
several custom types are defined. A method in foo.so creates instances
of these custom types by way of a newBarObject function defined in
bar.so. Problems arise when building the package using distutils.
foo.so needs to be linked against bar.so, as it uses methods defined in
bar.so, but I am unsure how to get distutils to do this for me.
Any help would be appreciated.
-- Mark Rowe
bdash at clear.net.nz
More information about the Python-list
mailing list