The Redhat 7.3 RPM for pygkt2-1.99.8 provides

/usr/lib/python2.2/site-packages/gtk
and
/usr/lib/python2.2/site-packages/gtk/__init__.py
(along with lots of other files).

If I install the 'old' pygtk for python2.2, python2.2 sees the pygtk2 
files, rather than the 'old' version.   In particular,

import gtk

reads site-packages/gtk/__init__.py, rather than
site-packages/gtk.py

This makes it much harder to support pygtk[1] applications at the same 
time as developing pygtk2 applications.

Before pygtk2 is officially released, should we rename its files to be 
installed in:

/usr/lib/python2.2/site-packages/gtk2  ?

(Note that other gtk2 files are named to allow co-existence, such as the 
include files in
/usr/include/gtk-2.0 )

How do other pygtk users and developers use both versions of pygtk with 
the same python executable?




-- 
Joe VanAndel    
National Center for Atmospheric Research
http://www.atd.ucar.edu/~vanandel/
Internet: [EMAIL PROTECTED]

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to