[PyQt] PyQt: configure.py command line options check

Giovanni Bajo rasky at develer.com
Wed Jun 27 11:44:25 BST 2007


Hi,

I suggest adding the following self-checks to configure.py:

  * If -g is specified, -v should not be specified and .sip files should 
not be installed. You can't use them anyway with the consolidated module.

  * If qt is built as static libraries, either -g or -k must be 
specified. Otherwise the resulting PyQt4 modules are going to segfault 
on you when you start using them.

Also, Phil, would you accept a patch that reworks configure.py to use 
optparse and/or add long name alternatives to options (--foo)? Given 
that Python 2.3 is now required, it shouldn't be an issue anymore.
-- 
Giovanni Bajo



More information about the PyQt mailing list