-
Notifications
You must be signed in to change notification settings - Fork 753
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
Adding a __version__ attribute #190
Comments
Sure, I could consider adding this. Note you can use |
Thanks for the response. Yes, this works. I was just mentioning the additional Since you are using a .toml, it's actually probably best to use the following code you suggested itself
and just add it to the |
I added a PR for your convenience here: #191 |
FYI- In the Flask community, we've been removing version from packages now that importlib is around. Maybe scientific packages are keeping it around, but web packages are moving away from it. |
It would be nice to add a
__version__
attribute similar to other Python projects, so that we can easily query the version for reproducibility reasons. I.e.,The text was updated successfully, but these errors were encountered: