On Sat, Aug 31, 2002 at 10:09:59AM +0800, James Henstridge wrote: > >>3. each version of pygtk installs the file pygtk.py into > >> $(prefix)/lib/python?.?/site-packages > >> This file is identical for all pygtk versions. > > > >This file is also only installed from 0.6.11 is seems. > > > That is weird. I use exactly the same code in the Makefile.am's of the > different versions.
Uargh, my fault. The debian/rules script did not move it to the right
package directory. I have a sanity check to make sure that everything
is moved to the package directories but it does not seem to work.
Sorry.
> >Perhaps you just meant to say that all versions should be in pygtk.pth
> >with the default version first?
>
> The .pth file is used to select a default version of pygtk.
>
> For apps that want to make sure they get a particular version, they use
> the pygtk.py module. This module removes the default pygtk platform
> from sys.path and adds the desired version (or raises an exception if
> the requested version is not found).
Okay, I am stupid. I misread the pygtk.py source and did not recognize
it scans the directories in sys.path for gtk-* directories. I'll check
before reporting a problem next time.
Greetings
Torsten
msg04351/pgp00000.pgp
Description: PGP signature
