[GRASS-dev] [GRASS GIS] #3772: Make the grass library importable outside of a GRASS session

GRASS GIS trac at osgeo.org
Tue Apr 2 02:52:01 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):

 Well, the next steps are to get rid of {{{PYTHONPATH}}} and
 {{{LD_LIBRARY_PATH}}} too. {{{PYTHONPATH}}} should be rather easy via a
 path configuration file (e.g. {{{grass.pth}}} -
 [https://docs.python.org/3/library/site.html source]). Not sure how easy
 is going to be to get rid of {{{LD_LIBRARY_PATH}}} but at least in theory
 if you figure out the appropriate linker options, it is doable.

 But still, you need to start from somewhere.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3772#comment:11>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list