forked from OSGeo/grass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.bat
27 lines (17 loc) · 843 Bytes
/
env.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
REM
REM Environmental variables for GRASS stand-alone installer
REM
set GRASS_PYTHON=%GISBASE%\extrabin\python3.exe
set PYTHONHOME=%GISBASE%\Python37
set GRASS_PROJSHARE=%GISBASE%\share\proj
set PROJ_LIB=%GISBASE%\share\proj
set GDAL_DATA=%GISBASE%\share\gdal
set GEOTIFF_CSV=%GISBASE%\share\epsg_csv
set FONTCONFIG_FILE=%GISBASE%\etc\fonts.conf
set PATH=%GISBASE%\extrabin;%GISBASE%\bin;%PATH%
REM set RStudio temporarily to %PATH% if it exists
IF EXIST "%ProgramFiles%\RStudio\bin\rstudio.exe" set PATH=%PATH%;%ProgramFiles%\RStudio\bin
REM set R_USER if %USERPROFILE%\Documents\R\ exists to catch most common cases of private R libraries
IF EXIST "%USERPROFILE%\Documents\R\" set R_USER=%USERPROFILE%\Documents\
REM set R temporarily to %PATH%
IF EXIST "%ProgramFiles%\R\" ("%GISBASE%\extrabin\R" path)