[Distutils] build subcommand order

Dan Schult dschult at mail.colgate.edu
Fri Mar 26 14:35:52 EST 2004


Lars Immisch wrote:
>I don't think so. In the first place, swig should create .py files only
>if -shadow is passed, and I see no obvious support for this argument in
>the distutils code.
>
>Swig is run without include path arguments (-Ifoo), macro definitions or
>undefs and only one possible extra argument (-cpp).

Are you sure you have the latest version of Swig
(and distutils)?
It handles include directories just fine for me
and it creates .py files by default (without -shadow)

It seems that perhaps the best way to solve my problem
is to add a line in build_ext.py that moves the python
modules swig creates after it creates them. 

It sounds like you are having many more issues though...
Dan




More information about the Distutils-SIG mailing list