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