Skip to content
This repository
Newer
Older
100644 80 lines (59 sloc) 3.207 kb
5fcfef19 »
2010-11-27 Fix TARGETDIR handling...
1 =======
2 WARNING
3 =======
4
5 The all-in-one installer should be considered as a proof of concept.
6 Please do not use it on productions systems just yet!
7
5c4ed978 »
2010-11-12 first commit
8 ===============
9 pygtk-installer
10 ===============
11
5fcfef19 »
2010-11-27 Fix TARGETDIR handling...
12 The pygtk-installer project provides a set of tools to build the PyGTK
13 all-in-one installer and it's various dependencies.
14 There are currently versions of the all-in-one installer targeting Python 2.6
15 and Python 2.7.
16
17 Included tools:
5c4ed978 »
2010-11-12 first commit
18
b404d85b »
2010-11-22 Move to a single feature tree, drop custom distutils dialogs in favor…
19 - build_glade.sh: a tool that builds glade3 binaries for mswindows with
5fcfef19 »
2010-11-27 Fix TARGETDIR handling...
20 "Python Widgets Support" for each supported Python version.
9d342c4c »
2010-11-12 [docs] improve the warning, point out some pitfalls
21 - build_bindings.sh: a tool that builds windows installer packages (both .exe
5fcfef19 »
2010-11-27 Fix TARGETDIR handling...
22 and .msi) for pycairo, pygobject, pygtk, pygoocanvas, pygtksourceview and
23 pyrsvg for each supported Python version.
9d342c4c »
2010-11-12 [docs] improve the warning, point out some pitfalls
24 - build_installer.py: a tool that generates an all-in-one installer bundling
5fcfef19 »
2010-11-27 Fix TARGETDIR handling...
25 the separate .msi installers created by build_bindings.sh, the glade binaries
26 created by build_glade.sh and various gtk+ runtime packages from
27 ftp.gnome.org/pub/GNOME/binaries/win32/.
28
29 =============================
30 Things you might want to know
31 =============================
32
33 #. Make absolutely sure the separate pycairo, pygtk, pygobject, etc packages
34 are uninstalled. The all-in-one installer does not check for their presence
35 and will happily overwrite files that belong to them. If you forget to check
36 for this you risk the following scenario:
37
38 - install Python
39 - install pycairo, pygtk and pygobject
40 - install pygtk all-in-one
41 - uninstall pycairo, pygtk and pygobject
42 ... you now have a *broken* pygtk all-in-one installation
43
44 #. You no longer need to fiddle with the PATH environment variable. Ever.
45 The pygtk version that's installed with the all-in-one installer
46 takes care of loading the included gtk+ runtime on the PATH environment
47 variable on interpreter startup. As a consequence simply importing gobject,
48 gtk, etc works out of the box. As an added advantage there is no possible way
49 a different gtk+ runtime can interfere with pygtk all-in-one.
50
51 #. I lied. If you have used the separate pygtk, pygobject and pycairo installers
52 but decide to migrate to the pygtk all-in-one installer, now is a good time to
53 clean your system or user PATH environment variable.
54
55 #. If something doesn't work as expected:
56
57 - unsinstall pygtk all-in-one
58 - install pygtk all-in-one with the following command (from a "Command Prompt" aka cmd.exe)::
59
60 %WINDIR%\system32\msiexec.exe -i pygtk-all-in-one-2.22.X.win32-py2.X.msi /l*vx install.log
61
62 - then run Python with the following command (from a "Command Prompt" aka cmd.exe)::
63
64 python -v -c "import gtk">import.log 2>&1
65
66 - study both install.log and import.log...
da0c5e84 »
2010-11-12 Add some more documentation
67
c96de432 »
2010-11-23 Explain the version numbering scheme used by the all-in-one installer.
68 ==========
69 Versioning
70 ==========
71
72 The all-in-one installers' version number does not map directly to the
73 pygtk version number. This is a requirement to support windows installer
74 major upgrades. The version number is constructed as follows::
75
76 PYGTK_MAJOR.PYGTK_MINOR.INSTALLER_REVISION
77
5fcfef19 »
2010-11-27 Fix TARGETDIR handling...
78 Stable releases are kept available for download, testing revisions are removed
79 from the download area once they are superseeded by newer versions.
Something went wrong with that request. Please try again.