Le dimanche 05 août 2007 à 10:12 +0200, Torsten Marek a écrit : > python-qt4-dev does not depend on python-qt4, and the point is of course to > make > the build-dependencies a bit lighter. Now the problem is that __init__.py is > in > python-qt4, but also needed if python-qt4-dev is installed with python-qt4 > (otherwise PyQt4.pyqtconfig cannot be imported). > > There are several solutions, among them: > > 1) roll the change back, move pyqtconfig.py back to python-qt4 > or > 2) make python-qt4-dev depend in python-qt4 > or > 3) create a new package python-qt4-common that only contains __init__.py, > which > can be depended upon by python-qt4 and python-qt4-dev > > > 1) and 2) are quite simple solutions, but fail to make the build-deps lighter > (python-qt4 is quite a large package, Installed-Size: 19380). Solution 3 > reaches > this goal, but introduces a new package that has no added value. > > Are there any other solutions? If not, which way should I go?
Python-support 0.7 (currently in experimental) introduces support for namespace packages, which should solve your problem by creating an empty __init__.py file if python-qt4-dev is installed and python-qt4 is not. Cheers, -- .''`. : :' : We are debian.org. Lower your prices, surrender your code. `. `' We will add your hardware and software distinctiveness to `- our own. Resistance is futile.
signature.asc
Description: Ceci est une partie de message numériquement signée