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

Vaclav Petras noreply at github.com
Wed Nov 17 19:16:57 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 59731f80db1c848ab65394c8bf0866d89c0586f0
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2021-11-17 (Wed, 17 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