ES-DOC / esdoc-errata-client

Client utility for managing dataset errata.
https://ipsl.gitbook.io/esgf-errata-service
Other
3 stars 2 forks source link

Remove esdoc_home env variable and replace it with hardcoded standard path #4

Closed AtefBN closed 6 years ago

AtefBN commented 6 years ago

Current behavior expects users to set environment variable ESDOC_HOME for later usages and warns users when it's not set. We'd like to remove the warning and replace that variable with a standardized fixed hard coded path.

esdoc-system-user commented 6 years ago

Standardized fixed hard coded path would be:

~/.esdoc/errata

In python this can be assigned as follows:

'{}/.esdoc'.format(os.getenv('HOME'))