-
Notifications
You must be signed in to change notification settings - Fork 27
fetching version from __version__ attribute #23
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
Comments
Looking at the linked issue from plotly/dash#1606, this is not related to flask-compress, and is a duplicate #22 |
Can you add __ version __ attribute for this package? It'd make it easier to fetch version info then. |
|
I agree that sometimes it is nice to have a version attribute to read in the sources, but nevertheless the preferred way to get the version of an installed package is: >>> import pkg_resources
>>> pkg_resources.get_distribution('flask-compress').version
'1.9.0' I do not mind adding the |
I implemented the migration to setuptools_scm, so now a Edit: |
If I'm not wrong version attribute is not being set which makes it difficult to fetch the version of flask-compress.
Is there any other attribute which would provide this package's version info?
The text was updated successfully, but these errors were encountered: