[Distutils] Compilation and eggification of swig code

David Pratt fairwinds at eastlink.ca
Fri Dec 15 18:20:18 CET 2006


Many thanks for this Phillip. I'll give this a try.

Regards,
David

Phillip J. Eby wrote:
> At 05:49 PM 12/14/2006 -0400, David Pratt wrote:
>> Hi. I'd like to produce an egg by compiling swig code for a particular
>> platform. Can someone advise a blueprint for this. Many thanks.
> 
> See http://python.org/doc/2.4.1/dist/dist.html and 
> http://python.org/doc/2.4.1/dist/describing-extensions.html
> 
> especially section 2.3.2, which notes that you can use .i files as 
> Extension() sources.  Add the necessary information to your setup.py and 
> run bdist_egg on the appropriate platform(s) to create the egg(s) you want.
> 


More information about the Distutils-SIG mailing list