Open gst opened 8 years ago
I would like that for each plugin its version is available within its package, that is :
from shinkenplugins.plugins.xxx import __version__ # or from shinkenplugins.plugins.xxx import VERSION
should give the actual plugin xxx's version (as string), like "1.2" .
actually only very few plugins have that.
See for example: https://github.com/savoirfairelinux/monitoring-tools/blob/master/plugins/check-reseaucontactcom/setup.py#L35
some refs:
https://www.python.org/dev/peps/pep-0008/#version-bookkeeping http://legacy.python.org/dev/peps/pep-0396/#specification https://www.jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/ etc..
I would like that for each plugin its version is available within its package, that is :
should give the actual plugin xxx's version (as string), like "1.2" .
actually only very few plugins have that.
See for example: https://github.com/savoirfairelinux/monitoring-tools/blob/master/plugins/check-reseaucontactcom/setup.py#L35
some refs: