GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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.