This repository has been archived by the owner on Nov 17, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
README.win32: document build instructions
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Windows Setuptools Build Instructions | ||
====================================== | ||
|
||
1. Install gtk+ bundle from gtk.org (to C:\GTK for example) | ||
2. Install libxml2 and gtksourceview into the gtk+ installation | ||
3. Install Python2.6 | ||
4. Install pycairo, pygobject and pygtk | ||
5. Install MinGW and MSYS | ||
6. Add the following to your msys environment variables | ||
(open and append to C:\msys\1.0\etc\profile) or set for the session | ||
|
||
$ export PATH=/c/GTK/bin:/c/Python26:/c/Python26/Scripts:$PATH | ||
$ export PKG_CONFIG_PATH=/c/GTK/lib/pkgconfig:/c/Python26/Lib/pkgconfig:$PKG_CONFIG_PATH | ||
|
||
7. In msys shell, build with | ||
|
||
$ python setup.py build --compiler=mingw32 --enable-threading bdist_wininst --user-access-control=auto | ||
|
||
Tested with | ||
* gtk+-bundle_2.20.0-20100406_win32.zip | ||
* MinGW-5.16.exe | ||
* MSYS-1.0.11.exe | ||
* python-2.6.5.exe | ||
* pycairo-1.8.6.win32-py2.6.exe |