On Tue, Aug 26, 2003 at 09:07:15PM -0400, Matt Zimmerman <[EMAIL PROTECTED]> was heard to say: > > Yes. I've looked at this before trying with SWIG. It was quite limited > > at the time I've looked, perhaps this has changed? > > It is still rather limited, but it provides a somewhat more natural Python > API rather than directly translating the C++ API. If there are things > missing that you need, I think I would rather add them to python-apt than > use swig.
I haven't looked at the apt-rpm code, but one nice thing about Swig is that it makes it pretty easy to generate interfaces to many languages from one .i file. You can do things to your interface definitions to make them language-specific, though... In other words, Swig support doesn't have to be mutually exclusive with apt-python. Daniel -- /-------------------- Daniel Burrows <[EMAIL PROTECTED]> -------------------\ | "Witches and pickles went together like...she hesitated at | | the stomach-curdling addition of peaches and cream, and | | mentally substituted 'things that went together very well'" | | -- Terry Pratchett | \-- Does your computer have Super Cow Powers? ------- http://www.debian.org --/

