GRASS Programmer's Manual  6.4.4(2014)-r
python.setup Namespace Reference

Functions

def init
 Initialize system variables to run scripts without starting GRASS explicitly. More...
 

Function Documentation

def python.setup.init (   gisbase,
  dbase = '',
  location = 'demolocation',
  mapset = 'PERMANENT' 
)

Initialize system variables to run scripts without starting GRASS explicitly.

User is resposible to delete gisrc file.

Parameters
gisbasepath to GRASS installation
dbasepath to GRASS database (default: '')
locationlocation name (default: 'demolocation')
mapsetmapset within given location (default: 'PERMANENT')
Returns
path to gisrc file

Definition at line 28 of file setup.py.