Hallöchen! Lars Immisch <lars@ibp.de> writes:
[...]
But mymodule.py doesn't exist as a source file. Instead, it is *created* by SWIG.
Ah. It sounds like it's just the SWIG naming conventions that irritate you.
I don't think so. ;-)
[...]
Try just:
setup(name = 'my', ext_modules = [Extension('mymodule', sources = ['mymodule.i'])]
Well, I had also tried this variant, but then distutils generates a mymodule.lib instead of _mymodule.lib and the Microsoft linker complains about not finding the external symbol "initmymodule".
and distutils should do the Right Thing (tm).
Due to my compiler situation, I feel forced to use Python 2.3. Could this be the reason for my problem? Tschö, Torsten. -- Torsten Bronger, aquisgrana, europa vetus