SWIG: output file name for *.py

Helmut Zeisel helmut.zeisel at aon.at
Wed Mar 6 05:43:03 EST 2002


I use

swig -python -c++ -shadow -o path/interface_wrap.cxx interface.i

This creates two files:

path/interface_wrap.cxx

and interface.py in the *local* directory.

How can I specify a different output directory for interface.py?

According to Lutz, Programming Python, 2nd edition, p. 1139,
also a third file interface_wrap.doc should be created.
Why is this file not created? Do I need an additional option?


Helmut



More information about the Python-list mailing list