Branch and push for 2.0
[profile/ivi/pygobject2.git] / README.win32
1 Windows Setuptools Build Instructions
2 ======================================
3
4   1. Install gtk+ bundle from gtk.org (to C:\GTK for example)
5   2. Install Python2.6
6   3. Install MinGW and MSYS
7   4. Add the following to your msys environment variables
8      (open and append to C:\msys\1.0\etc\profile) or set for the session
9
10      $ export PATH=/c/GTK/bin:/c/Python26:/c/Python26/Scripts:$PATH
11      $ export PKG_CONFIG_PATH=/c/GTK/lib/pkgconfig:/c/Python26/Lib/pkgconfig:$PKG_CONFIG_PATH
12
13   5. In msys shell, build with
14
15      $ python setup.py build --compiler=mingw32 --enable-threading bdist_wininst --user-access-control=auto
16
17 Tested with
18   * gtk+-bundle_2.20.0-20100406_win32.zip
19   * MinGW-5.16.exe
20   * MSYS-1.0.11.exe
21   * python-2.6.5.exe