[GRASS-dev] [GRASS GIS] #3772: Make the grass library importable outside of a GRASS session
GRASS GIS
trac at osgeo.org
Tue Apr 2 13:58:28 PDT 2019
#3772: Make the grass library importable outside of a GRASS session
--------------------------+-------------------------
Reporter: pmav99 | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Python | Version: svn-trunk
Resolution: | Keywords:
CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Comment (by pmav99):
> According to the docs, lib/python/script/setup.py contains functions
that
>
> can be used in Python scripts to setup a GRASS environment and
session without using grassXY
>
Perhaps I am missing something, but can these functions be actually used
in order to create a session?
Because unless I am mistaken, you need to already be inside a session
before you can import them and call them. Am I wrong?
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3772#comment:13>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list