[PyKDE] Re: [eric3]api file generation
Timothy Reaves
treaves at silverfieldstech.com
Mon Jul 17 02:26:32 BST 2006
Andreas Pakulat wrote:
> On 14.07.06 10:15:35, Timothy Reaves wrote:
>> How are these files in general supposed to be created? I see the two scripts,
>> one that generates for python and one for sip. But I can find no information
>> on a generic script, where I can simply pass it a directory as an argument, and
>> it'll generate an api file for that.
>
> Write your own. Looking at the api files it does nothing more than
> extract all "symbols" out of the python api and the modules it finds
> installed.
>
> If the python modules you need API for are already installed, running
> gen_python_api.py should be enough, I think.
>
> Andreas
>
Yes, thank you Andreas, for pointing out the obvious. Very helpful. I
find it hard to believe I'm the first person to want to do this. And as
a developer, I so love reinventing the wheel.
More information about the PyQt
mailing list