-
Notifications
You must be signed in to change notification settings - Fork 52
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
Wrong __version__
in __init__.py
#110
Comments
I'd appreciate your help on this, but what I would prefer is for the version to update itself. The reason the version on this is always messed is because I built this before I learned more about packaging myself and it is cobbled together from several people's work, and probably not consistent. But also because in my other packages I have github releases determine the version and it is passed on down from there. Every time I do a release here I have forgotten to update the file and then I have to release again after I update it and apparently I still did it wrong if you found an error! |
I had these problems with my packages before when trying to manually update versioning. I switched to using |
Probably would be fixed by #111, as it adds |
Hi,
I've noticed the wrong version number set for
__version__
in__init.py__
.One solution would be to use
importlib.metadata.version('cmocean')
to always the correct version number taken from thesetup.py
.If that is something wanted, I am happy to do a PR for it :)
The text was updated successfully, but these errors were encountered: