# I include several versions below, but keep in mind that I only currently
# (usually) use GTK+ 2.8.x I'll keep the others current if new versions
# become available, but keep in mind that I have not tried them.
#
# There is a 2.10.x version available for GTK+ 2.10.x, but I'm not running
# GTK+ 2.10.x yet.
# If you ever want to uninstall PyGTK, cd into the source directory and
# run 'make uninstall', then remove the source directory and the tarball.
# The installation prefix passed to configure below (--prefix=) should be the
# same prefix that Python is installed under. If yours is in /usr/local, use
# that instead.
# Select the appropriate version below for the version of GTK+ that you use.
cd
test -f installed/pygtk-2.2.0.tar.bz2 && mv installed/pygtk-2.2.0.tar.bz2 .
test ! -f pygtk-2.2.0.tar.bz2 &&
wget http://ftp.gnome.org/pub/gnome/sources/pygtk/2.2/pygtk-2.2.0.tar.bz2
cd
test -f installed/pygtk-2.4.1.tar.bz2 && mv installed/pygtk-2.4.1.tar.bz2 .
test ! -f pygtk-2.4.1.tar.bz2 &&
wget http://ftp.gnome.org/pub/gnome/sources/pygtk/2.4/pygtk-2.4.1.tar.bz2
cd
test -f installed/pygtk-2.6.3.tar.bz2 && mv installed/pygtk-2.6.3.tar.bz2 .
test ! -f pygtk-2.6.3.tar.bz2 &&
wget http://ftp.gnome.org/pub/gnome/sources/pygtk/2.6/pygtk-2.6.3.tar.bz2
cd
test -f installed/pygtk-2.8.6.tar.bz2 && mv installed/pygtk-2.8.6.tar.bz2 .
test ! -f pygtk-2.8.6.tar.bz2 &&
wget http://ftp.gnome.org/pub/gnome/sources/pygtk/2.8/pygtk-2.8.6.tar.bz2