Closed GoogleCodeExporter closed 9 years ago
qtWidgets and signalClasses are controlled directories. they include classes
that other package developers may use. So if these directories exist in your
package they must contain a __init__.py file. and every other file in the
directory much have a class by the same name as the file name.
In 2.0 every file in these directories will also require a corresponding
file in meta/qtwidgets and meta/signalClasses.
If you want code specific to your package put it in a directory other then
widgets, qtwidgets, and signalClasses
Original comment by anup.parikh
on 15 Feb 2011 at 10:23
I think then either remove the try except and require that the qtWidget be
named the same thing as a class inside of it and make it a real error or remove
the warning.
from libraries.mypackage.qtWidgets.myqtwidget import someClassA, someClassB
should either be illegal or legal but not somewhere in between
Original comment by kylecovi...@gmail.com
on 15 Feb 2011 at 10:51
I will add this to documentation, change warning to error. I will also
required that packages submitted to our repository have the required
meta files (2.0).
Original comment by anup.parikh
on 15 Feb 2011 at 10:56
Cleared
Original comment by kylecovi...@gmail.com
on 23 Feb 2011 at 5:58
Original issue reported on code.google.com by
kylecovi...@gmail.com
on 15 Feb 2011 at 10:02