[PyQt] SIP feature request

Giovanni Bajo rasky at develer.com
Tue Jul 21 17:24:59 BST 2009


On Tue, 2009-07-21 at 17:18 +0100, Phil Thompson wrote:
> On Tue, 21 Jul 2009 18:07:07 +0200, Giovanni Bajo <rasky at develer.com>
> wrote:
> > Hello,
> > 
> > in complex projects using several inter-dependent sip modules, it's
> > getting harder and harder to correctly track dependencies so that the
> > minimum set of libraries is rebuilt.
> > 
> > It would be very useful if sip had an option to dump the list of .sip
> > files that are being parsed (through %Includes and %Imports); this list
> > could automatically be generated and used by sipdistutils to infer the
> > correct dependencies of each sip module.
> > 
> > At that point, we could also use a --syntax-only (or --dry-run), so that
> > it would be possible to only generate the aforementioned dump and do
> > nothing else.
> > 
> > Does this make sense?
> 
> You mean a printf() when it opens a .sip file?

Yes. I also noticed that there are many %ModuleHeaderCode which are just
#includes. That's a shame since sip could grow %ModuleHeaderFile and
thus add a printf() for those as well -- but I digress.

> The --syntax-only behaviour is the default anyway.

I hadn't noticed that :)
-- 
Giovanni Bajo
Develer S.r.l.
http://www.develer.com




More information about the PyQt mailing list