Skip to content
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

Consider looking for "local" rc file before "global" one #1689

Closed
ceball opened this issue Jul 6, 2017 · 2 comments
Closed

Consider looking for "local" rc file before "global" one #1689

ceball opened this issue Jul 6, 2017 · 2 comments

Comments

@ceball
Copy link
Member

ceball commented Jul 6, 2017

HV looks for an rc file in this order:

for rcfile in [os.environ.get("HOLOVIEWSRC", ''),
               "~/.holoviews.rc",
               "~/.config/holoviews/holoviews.rc",
               os.path.abspath(os.path.join(os.path.split(__file__)[0],
                                            '..', 'holoviews.rc'))]:

Would it make more sense to look for the local (to the particular hv being used)/dev rc file before the ones in home directory?

@jlstevens
Copy link
Contributor

I am happy to make this change but haven't thought too deeply about the implications. I think the sensible order might be: environment variable, local holoviews.rc, ~/.holoviews.rc then the one in ~/.config.

@jbednar @philippjfr Any objections if I switch to that order? Do you agree it is more sensible than the current ordering?

@jlstevens
Copy link
Contributor

The PR referenced above (#1700) has been merged. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants