source: grass/trunk/mswindows/env.bat

Last change on this file was 73893, checked in by martinl, 6 years ago

set python 3 environment in OSGeo4W
bundle python3 for standalone winGRASS
python 3 environment in standalone winGRASS
patches provided by hellik, see #3719

  • Property svn:eol-style set to CRLF
  • Property svn:mime-type set to text/x-bat
File size: 843 bytes
Line 
1REM
2REM Environmental variables for GRASS stand-alone installer
3REM
4
5set GRASS_PYTHON=%GISBASE%\extrabin\python3.exe
6set PYTHONHOME=%GISBASE%\Python37
7
8set GRASS_PROJSHARE=%GISBASE%\share\proj
9
10set PROJ_LIB=%GISBASE%\share\proj
11set GDAL_DATA=%GISBASE%\share\gdal
12set GEOTIFF_CSV=%GISBASE%\share\epsg_csv
13
14set FONTCONFIG_FILE=%GISBASE%\etc\fonts.conf
15
16set PATH=%GISBASE%\extrabin;%GISBASE%\bin;%PATH%
17
18REM set RStudio temporarily to %PATH% if it exists
19
20IF EXIST "%ProgramFiles%\RStudio\bin\rstudio.exe" set PATH=%PATH%;%ProgramFiles%\RStudio\bin
21
22REM set R_USER if %USERPROFILE%\Documents\R\ exists to catch most common cases of private R libraries
23IF EXIST "%USERPROFILE%\Documents\R\" set R_USER=%USERPROFILE%\Documents\
24
25REM set R temporarily to %PATH%
26
27IF EXIST "%ProgramFiles%\R\" ("%GISBASE%\extrabin\R" path)
Note: See TracBrowser for help on using the repository browser.