env.bat 814 B

123456789101112131415161718192021222324252627
  1. REM
  2. REM Environmental variables for GRASS stand-alone installer
  3. REM
  4. set GRASS_PYTHON=%GISBASE%\extrabin\python3.exe
  5. set PYTHONHOME=%GISBASE%\Python39
  6. set GRASS_PROJSHARE=%GISBASE%\share\proj
  7. set PROJ_LIB=%GISBASE%\share\proj
  8. set GDAL_DATA=%GISBASE%\share\gdal
  9. set FONTCONFIG_FILE=%GISBASE%\etc\fonts.conf
  10. set PATH=%GISBASE%\extrabin;%GISBASE%\bin;%PYTHONHOME%;%PATH%
  11. REM set RStudio temporarily to %PATH% if it exists
  12. IF EXIST "%ProgramFiles%\RStudio\bin\rstudio.exe" set PATH=%PATH%;%ProgramFiles%\RStudio\bin
  13. REM set R_USER if %USERPROFILE%\Documents\R\ exists to catch most common cases of private R libraries
  14. IF EXIST "%USERPROFILE%\Documents\R\" set R_USER=%USERPROFILE%\Documents\
  15. REM set R temporarily to %PATH%
  16. IF EXIST "%ProgramFiles%\R\" ("%GISBASE%\extrabin\R" path)