You need:
- Visual Studio C++ 2008 (This is for the Python compiler for py2exe)
- QGIS 32bit OSGeo4W
NOTE: Build scripts assume OSGeo4W install path.
INSTALL NOTE: If you get a ValueError when running python setup.py install sometimes it can't run the visual studio batch
file. Simply run C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat
in the shell
before running setupdev.bat
- Download and install Visual Studio C++ Express
- Run
setupdev.bat
setupdev.bat
will download and install py2exe and anything else the project needs. If that fails follow the instructions below.
- Download py2exe
- Extract
- Run OSGeo4W.bat in QGIS install folder
- CD to exracted folder
- run: python setup.py install
- CD back to source folder.
- Run
package.bat
- Errors will be in the shell, everything else in package.log
- Output will be in
dist\