You only need to do this once.
You need:
- Visual Studio C++ 2008 (This is for the Python compiler for py2exe)
- [QGIS 2.18] http://qgis.org/downloads/QGIS-OSGeo4W-2.18.22-1-Setup-x86.exe
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 cmd.exe as admin
scripts\setupdev.bat 2.18
PyCharm can be started with the right environment using .\scripts\editors\pycharm-pyqgis.bat 2.18
- cmd.exe
build.bat 2.18 build
build.bat
is a make file with commands to build and package Roam
Following commands are supported:
- build
- exe
- release
- installer
- test
- test-only
- cmd.exe
build.bat 2.18 exe
- cmd.exe
build.bat 2.18 release