-
Is there a convenient way to provide the version of my package from the |
Beta Was this translation helpful? Give feedback.
Answered by
konstin
Jan 16, 2023
Replies: 2 comments 5 replies
-
Is this something that could be solved by importlib.metadata.version? E.g. in from importlib.metadata import version
__version__ = version(__name__) |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
bicarlsen
-
Can I also ask, how do you assign a property to the package itself? e.g. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this something that could be solved by importlib.metadata.version? E.g. in
__init__.py
: