-
Notifications
You must be signed in to change notification settings - Fork 92
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
Allow plugins from system directories #135
Comments
Agreed, very important feature. |
I approve of this suggestion. |
Are there any system "standard" paths for storing the plugins? (something like XDG ones) |
I mentioned this on irc this morning, I think the obvious answer is the python2 sitelib, as far as how to locate that on any given system I'm unsure. I know on my system is it /usr/lib/python2.X/site-packages but there may be a way to check for the sitelib and check within that directory. |
morituri at least worked fine if you installed loggers to Python's site-packages directory. Has this really been broken by whipper? (I don't think I've used custom loggers with whipper yet, so I wouldn't know.) |
WIP in #348... |
Right now all of the logging plugins must be installed to either $XDG_DATA_HOME/whipper/plugins or $HOME/.local/share/whipper/plugins, both of which are (generally) in the users home directory. This is fine for users wishing to install plugins themselves but the purpose of system wide packages is to install for all users on a system so requiring packaged binaries to be placed into a home directory defeats that purpose.
In order to make packaging whipper logging plugins easier I suggest whipper also check system directories for plugins.
The text was updated successfully, but these errors were encountered: