On Mon, 2003-03-24 at 13:39, Erik Williamson wrote: > Hi All, > > (Newbie Alert, watch out) > > I'm currently writing an application that needs to run on all releases > of RedHat from 7.0 to 8.0. My problem is that I'd like to write it > using pygtk2 - but take a look at what comes with the various releases: > > RedHat Release Python Version PyGTK Version > ------------------------------------------------------------- > 7.0 1.5.2 ? > 7.1 1.5.2 ? > 7.2 1.5.2 & 2.1.1 0.6.8 > 7.3 1.5.2 & 2.2.2 0.6.9 & 1.99.8 > 8.0 2.2.2 1.99.12 > > Can you think of a nice way that I can write something to run on all > platforms? My only thought is that I could bundle python 2.2.2 & PyGtk > with the application... Honestly I am out of ideas.
Expect pain. You'll not only have to ship python 2.2.2, you'll also have to ship all of the libraries below and including pygtk2. This includes gtk, atk, pango, and glib. We're in a similar situation because for an app we're developing we're taking advantage of threading fixes in 1.99.15, but due to API incompatibilties we can't update the pygtk on Red Hat 8.0 or else all of the Red Hat config tools will break. You might be able to get something like "freeze" working. We're using this: http://www.mcmillan-inc.com/install5_ann.html which will include a python interpreter, all your python files, and also the shared objects needed for modules written in C. Joe _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
