-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a few default locations for the Palladium config file #103
Conversation
This will not be helpful on Windows ;) |
Do you have an idea on what locations would be useful to look for on Windows? Maybe |
94daebe
to
1878179
Compare
I know that there was a Python package that provides all the default directories for the common OSes but I cannot find it unfortunately. |
On 26 Apr 2019, at 17:55, Benjamin Bossan ***@***.***> wrote:
I know that there was a Python package that provides all the default directories for the common OSes but I cannot find it unfortunately.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#103 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AABOKWLYM5J6NVXPFSM2YF3PSMXW5ANCNFSM4HIOMLNQ>.
Russ Ferriday -- Software Product Architect, Developer, Mentor
Founder & CTO Topia Systems Ltd
topiaruss@gmail.com -- +44 7429 518822
|
Yes, that's the one. |
Thanks for the pointer. It's true that I've included one global path ( Another question I have is: Do we want the tutorial to make use of the default |
For the docker use case, is it too much to ask from the user to specify Regarding the tutorial, it should teach the "proper" way of doing things. Also, at least in my use cases, I now always have multiple config files, so having that default would not be helpful. |
1878179
to
644ed35
Compare
Thanks for the feedback. I've removed the |
If ``PALLADIUM_CONFIG`` is not set, Palladium will try to find a configuration file at these locations: - ``palladium-config.py`` - ``etc/palladium-config.py``
644ed35
to
74da978
Compare
If
PALLADIUM_CONFIG
is not set, Palladium will try to find aconfiguration file at these locations:
palladium-config.py
etc/palladium-config.py
/etc/palladium-config.py
I used
print()
rather than logging when a default config location is used because logging isn't set up at that point yet.