[pygtk] Add build docs for windows



commit fd242b0e39985ef4f1d2ef0b773c4d451e789ca0
Author: John Stowers <john stowers gmail com>
Date:   Fri Apr 16 14:40:24 2010 +1200

    Add build docs for windows

 Makefile.am  |    1 +
 README.win32 |   24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index d2a1635..f60c6c6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,6 +27,7 @@ EXTRA_DIST = 					\
 	PKG-INFO.in 				\
 	setup.py 				\
 	THREADS					\
+	README.win32					\
 	m4/jhflags.m4				\
 	m4/python.m4
 
diff --git a/README.win32 b/README.win32
new file mode 100644
index 0000000..548a3c8
--- /dev/null
+++ b/README.win32
@@ -0,0 +1,24 @@
+Windows Setuptools Build Instructions
+======================================
+
+  1. Install gtk+ bundle from gtk.org (to C:\GTK for example)
+  2. Install Python2.6
+  3. Install MinGW and MSYS
+  4. Add C:\GTK\bin to path (from windows)
+  5. Add the following to your msys environment variables 
+     (open and append to C:\msys\1.0\etc\profile) or set for the session
+
+     $ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/c/GTK/lib/pkgconfig:/c/Python26/Lib/pkgconfig
+     $ export PATH=$PATH:/c/Python26:/c/Python26/bin
+
+  6. In msys shell, build with
+
+     $ python setup.py build --compiler=mingw32 --enable-threading \
+       --yes-i-know-its-not-supported bdist_wininst
+
+Tested with
+  * gtk+-bundle_2.20.0-20100406_win32.zip
+  * MinGW-5.16.exe
+  * MSYS-1.0.11.exe
+  * python-2.6.5.exe
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]