Python Extension Designer / Builder.

Dave Kuhlman dkuhlman at rexx.com
Fri Jan 25 14:23:12 EST 2002


Paul Rubin <phr-n2002a at nightsong.com> wrote:
> 
> Gustavo  <rangerelf at axtel.net> writes:
>> I'm thinking *very* seriously about making a python module
>> which will build the skeleton to a python extension module
>> (with types and all). 
> 
> Something wrong with SWIG?

SWIG is great.

But, wouldn't it be nice to be able to customize the generated code
by adding/modifying Python code.  Maybe Gustavo wants more control
over the generated code and wants that control in Python.

Another place to look for ideas -- The pygtk distribution contains
a sub-directory 'generate' that contains python code which
translates definition files into C code.  The definition (.defs)
files contain S-expressions, not XML, but maybe this is the idea
you (Gustavo) are looking for.  You can find pygtk at:
http://www.daa.com.au/~james/pygtk/.

  - Dave


-- 
Dave Kuhlman
dkuhlman at rexx.com
http://www.rexx.com/~dkuhlman


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----



More information about the Python-list mailing list