Helmut Kudrnovsky wrote:
> regarding windows, the configuration directory is defined by the %APPDATA%
> variable; HOME is defined by %HOMEDRIVE% and %HOMEPATH%.
>
> it expands to:
>
> >>> import os
> >>> os.getenv('HOME')
> 'C:\\Users\\yourusername'
> >>> os.getenv('APPDATA')
>
Glynn Clements wrote
> Helmut Kudrnovsky wrote:
>
>> >> anyone more insight, if %HOME% is needed in winGRASS?
>> >
>> >Done by Glynn in:
>> >https://trac.osgeo.org/grass/changeset/37873
>>
>> does GRASS need HOME to be defined?
>>
>> any hints?
>
> It's used G__home() on Unix (and as a
Helmut Kudrnovsky wrote:
> >> anyone more insight, if %HOME% is needed in winGRASS?
> >
> >Done by Glynn in:
> >https://trac.osgeo.org/grass/changeset/37873
>
> does GRASS need HOME to be defined?
>
> any hints?
It's used G__home() on Unix (and as a fallback on Windows) and it's
used for
as a follow up of:
https://lists.osgeo.org/pipermail/grass-dev/2016-November/083125.html
[snip]
>>> what happens if we don't set it in grass.py? I can't try now.
>>
>> tested in winGRASS7.0.5 by commenting out following line:
>>
>> # set HOME
>> #if windows and not os.getenv('HOME'):
>> #