Re: drop pygtk alternative
Hi,
On Thu, Mar 02, 2006, Sebastien Bacher wrote:
> > But which source would be providing pygtk.py?
> python2.n-gobject
Ok, so there are two problems here:
- what about packages having a Depend on python-gtk-1.2? should
python-gtk-1.2 depend on a python2.n-gobject to get pygtk.py?
- which one of the python2.n-gobject will hold pygtk.py?
> A change will be required for people who have pygtk set to 1.2 by
> default now and don't use pygtk.require('1.2'). If you use pygtk 2.0
> stuff no change is required
Ok, in summary, if both the 1.2 and 2.0 packages are installed, the
bahvior of import pygtk might change:
Now:
A/ import pygtk => 1.2, depend on python-gtk-1.2 [1]
B/ pygtk.require('1.2') => 1.2, depend on python-gtk-1.2 [1]
C/ pygtk.require('2.0') => 2.0, depend on python-gtk2 [2]
After:
A/ import pygtk => 2.0, depend on python-gtk2 [2]
B/ pygtk.require('1.2') => 1.2, depend on python-gtk-1.2 [1]
C/ pygtk.require('2.0') => 2.0, depend on python-gtk2 [2]
(So we need to announce the change for people using merely import
pygtk, without any require().)
The file are currently shipped as follow:
python2.3-gtk-1.2:
/usr/lib/python2.3/site-packages/pygtk.py.python-gtk-1.2
python2.3-gtk2:
/usr/lib/python2.3/site-packages/pygtk.py.python2.3-gtk2
python2.4-gtk2:
/usr/lib/python2.4/site-packages/pygtk.py.python2.4-gtk2
And would switch to:
python2.3-gtk-1.2:
/usr/lib/python2.3/site-packages/pygtk.py.python-gtk-1.2
python2.3-gobject:
/usr/lib/python2.3/site-packages/pygtk.py.python2.3-gobject
python2.4-gobject:
/usr/lib/python2.4/site-packages/pygtk.py.python2.4-gobject
That's a bit surprising, I don't understand why pygtk.py has to move
from the python-gtk2 package to the python-gobject package.
[1] python-gtk-1.2 for the default python version or 2.3
[2] python-gtk2 for the default python version, python2.3-gtk2 for 2.3,
python2.4-gtk2 for 2.4
--
Loïc Minier <lool@dooz.org>
Current Earth status: NOT DESTROYED
Reply to: