Source

mapnik-win-setup / setup.bat

Full commit
1
2
3
4
5
6
set PATH=%PATH%;%HOMEDRIVE%\Python25;%PROGRAMFILES%\Mapnik\bin;%PROGRAMFILES%\Mapnik\lib
reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v Path /t REG_EXPAND_SZ /f /d "%PATH%"
set PYTHONPATH=%PYTHONPATH%;%PROGRAMFILES%\Mapnik\python\2.5\site-packages
reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v PYTHONPATH /t REG_EXPAND_SZ /f /d "%PYTHONPATH%"
set PROJ_LIB=%PROGRAMFILES%\Mapnik\nad
reg ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment" /v PROJ_LIB /t REG_EXPAND_SZ /f /d "%PROJ_LIB%"