[GRASS-git] [OSGeo/grass] 41bb7c: grass.script: Fix path resolving in init (#1979)

Vaclav Petras noreply at github.com
Wed Nov 24 10:56:16 PST 2021

  Branch: refs/heads/releasebranch_8_0
  Home:   https://github.com/OSGeo/grass
  Commit: 41bb7ce94cd440c8bc60fd258170f4ca165519af
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2021-11-24 (Wed, 24 Nov 2021)

  Changed paths:
    M python/grass/script/setup.py

  Log Message:
  grass.script: Fix path resolving in init (#1979)

* Search for install path (GISBASE) now correctly returns the path if found.
* Runtime environment setup now accepts any Path-like objects.
* The extra checks before mapset path resolve function call now support tilde for home directory.

More information about the grass-commit mailing list