15 Dec
2006
15 Dec
'06
12:01 a.m.
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.