Replies: 3 comments
-
|
Beta Was this translation helpful? Give feedback.
-
Thanks, but wouldn't it be more correct to add to "__init__.py " these line ?
|
Beta Was this translation helpful? Give feedback.
-
I found pep 396(https://peps.python.org/pep-0396/) but it is already rejected: So you can use importlib.metadata.version |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Please answer these questions before submitting your issue. Thanks!
There is a file "version.py " in the project, but it is not imported anywhere, only parsed by "setup.py ". As a result, the variable "__version__" is not set, and there is no way in the code to find out the version of the module.
Beta Was this translation helpful? Give feedback.
All reactions