[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: drop pygtk alternative



Le jeudi 02 mars 2006 à 14:10 +0100, Loïc Minier a écrit :

>  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]

No, atm that's an alternative:

# update-alternatives --display py2.3gtk.py
py2.3gtk.py - status is auto.
 link currently points
to /usr/lib/python2.3/site-packages/pygtk.py.python2.3-gtk2
/usr/lib/python2.3/site-packages/pygtk.py.python-gtk-1.2 - priority 100
/usr/lib/python2.3/site-packages/pygtk.py.python2.3-gtk2 - priority 123
Current `best' version
is /usr/lib/python2.3/site-packages/pygtk.py.python2.3-gtk2.

So if you have both installed it uses gtk2.0 by default at the moment.
What the change is going to drop is the possibility to set 1.2 manually.
The question is to know if anybody still sets that version as default
for etch...


>  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

No, the switch would be:
python2.3-gtk-1.2: no pygtk
python-gobject: pygtk.py

Or something like that


>  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.

Because it's used to set the default version for pygobject too and you
may have python-gobject without pygtk installed and use
pygtk.require('')


Cheers,

Sebastien Bacher




Reply to: