prjemian / punx

Python Utilities for NeXus HDF5 files
https://prjemian.github.io/punx
5 stars 7 forks source link

alternate location for credentials file #111

Closed prjemian closed 2 years ago

prjemian commented 6 years ago

Allow the user to store the GitHub credentials file outside the program source. A best location would be a subdirectory of the home account's usual location to store such configuration information, such as ~/.config/CREDENTIALS_FILE or ~/.config/punx/CREDENTIALS_FILE (but these are linux paths).

prjemian commented 6 years ago

QtCore can provide the ~/.config path (already used to find the user cache, for example)

prjemian commented 2 years ago

Or provide the GitHub authentication token by a command-line argument or by an environment variable.