In response to a message by John Stowers in the "Silent installation" thread I have started this thread to try to clarify what components should be in a windows installer for pygtk.
Please comment and enhance in this thread. I have probably missed something...

My suggestion would be that the installer assumes the following are installed on the user's machine.
( Which it should inform the user - needs to be installed prior to installing pygtk ) :

- Python 2.6.5 (using this release as an example - see below)
- The all-in-one bundle from http://www.gtk.org/download-windows.html
   e.g. http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.20/gtk+-bundle_2.20.1-20100912_win32.zip
    which includes GLib, GTK+, Pango, ATK, zlib, cairo, libpng, Freetype, Fontconfig, expat
    (I do not know if pygtk also needs any of these which are not in the all-in-one bundles)
     - pixman, gettext-runtime, pkg-config, winiconv, proxy-libintl, GNU libiconv

So for each version of python that we decided to support (and using python 2.6.5 in this example) the pygtk installer needs to install:
- PyGObject
- PyCairo

The installer could be made slightly more robust by checking for the existence of these packages already from an earlier install
 - in which case a simple message or an uninstall option might be possible.
The installer also needs to check and add if required the various items to the windows PATH variable

The versions of Python to support:
Python 2.6.5
Python 2.7
( my reasoning is that users wishing to use Pygtk at this time are most likely to be current. and that Python 2.7 is a precursor to Python 3.0 )
and 32 and 64bit builds so if users have 64 bit builds of GTK+ then pygtk will work.

For Python 3.0 - I admit I do not know because John has announced that pygtk 2.2 will be the last release in the pygtk series and we should move onto PyGObject next.

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to