Skip to content

Commit 98d1681

Browse files
committed
Add PS environment setup script
1 parent f401ea8 commit 98d1681

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/setdevenv.ps1

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# This is a very simple script which must be called from a build
2+
# directory and sets the environment for a Release build
3+
4+
$env:PATH = "$PWD\swig\python\bin;$PWD\apps\Release;$PWD\Release;" + $env:PATH
5+
$env:GDAL_DATA = "$PWD\data"
6+
$env:PYTHONPATH = "$PWD\swig\python"
7+
$env:GDAL_DRIVER_PATH = "$PWD\gdalplugins\Release"
8+
$env:USE_PATH_FOR_GDAL_PYTHON = "yes"

0 commit comments

Comments
 (0)