[pygtk] PyGTK Installer(Was: Pygtk.org website IRC Meeting)

Peter Morgan pm at daffodil.uk.com
Tue Dec 26 22:57:41 WST 2006


Wonderful stuff.. Guess your the "pyGTK Santa Claus" this year spending 
x-mas at it.. ;-) Thank you.

 ..although I haven't had time to test the install yet as  I haven't got 
a Windows machine nearby , but its the first thing I need to do when I 
find a victim.

There are a few questions however.

What is this ?
http://gladewin32.sourceforge.net/modules/news/
Does it include a glade interface designer (like glade3) for Windows ?

If there an "introductory" web page sintalled as well or is this 
something that needs to be done (I can do it)


As far as the installers go I see it as 2 installers

the dev enviroment - this also includes the pygtk ref, tutorial, guide, 
glade designer, pygtk example applications, and the basic introductory 
docs. Hopefully a bit of a  "Welcome to the platform"

and the run time - ie gtk, pygtk and python.

I also assume that the installer can check to see if there is python 
installed for example, or is it up to the python installer to do that? 
eg a minumum version required.


Food for thought
Pete

Alberto Ruiz wrote:
>
>
> 2006/12/25, Peter Morgan <pm at daffodil.uk.com 
> <mailto:pm at daffodil.uk.com>>:
>
>     IN response to my own post earlier... re windows users
>
>     The issue for me was for the developers wanting to start on pygtk as a
>     development platform
>
>     That requires
>     python2.5
>     gtk - the core gtk c+= engine
>     pygtk
>     glade - libglade and the designer
>     cairo
>     and others.. ?
>     and packaging all the above up with NSIS
>
>
> Done! I've spent the chrismas day doing it.
>
> What I've done is a bundled installer that takes:
>
> * Python 2.5  .msi installer
> * Gtk+ 2.10 runtime from gladewin32
> * PyGTK, PyCairo and PyGObject from ftp.gnome.org <http://ftp.gnome.org>
>
> And performs silent installation where possible.
> pygtk, pycairo and pygobject installers are built with distutils,  and 
> it's impossible to perform silent installs so three fullscreen dialogs 
> are shown at the lastest phase of the installer.
>
> You can gran the installer and the .nsi script from here:
> http://osl.ulpgc.es/~arc/gnome/pygtk-setup.exe 
> <http://osl.ulpgc.es/%7Earc/gnome/pygtk-setup.exe>
> http://osl.ulpgc.es/~arc/gnome/pygtk-setup.nsi 
> <http://osl.ulpgc.es/%7Earc/gnome/pygtk-setup.nsi>
>
> If you would like to play with the script, you need to download all 
> the installers cited above and rename it according to the following 
> constants inside the script (or change the constant values):
>
>       !define GTK_RUNTIME_INSTALLER "gtk-runtime.exe"
>       !define PYTHON_RUNTIME_INSTALLER "python-2.5.msi"
>       !define PYGTK_MODULE_INSTALLER "pygtk-win32-py2.5.exe"
>       !define PYCAIRO_MODULE_INSTALLER " pycairo-win32-py2.5.exe"
>       !define PYGOBJECT_MODULE_INSTALLER "pygobject-win32-py2.5.exe"
>
>
> I'd really appreciate any improvement on the nsi script.
> If you dive into it, you would find a lot of TODO comments, they show 
> the most important problems.
>
> Let me know what you think about it, any comments or help is welcome.
> -- 
> Un saludo,
> Alberto Ruiz 



More information about the pygtk mailing list