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

GRASS GIS trac at osgeo.org
Wed Sep 1 13:39:30 PDT 2021


#3772: Make the grass library importable outside of a GRASS session
--------------------------+-------------------------
  Reporter:  pmav99       |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  7.8.3
 Component:  Python       |    Version:  svn-trunk
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by wenzeslaus):

 If PR:1838 works, it will fix the `AttributeError` issue. Instead of
 deriving the path from the package path as suggested here, it delays the
 initialization of translations to the first translation function call.
 However, the new approach can be combined with or enhanced by the solution
 suggested here.

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



More information about the grass-dev mailing list