Skip to content
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

Add __version__ to jpy #116

Open
chipkent opened this issue Oct 12, 2023 · 1 comment
Open

Add __version__ to jpy #116

chipkent opened this issue Oct 12, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@chipkent
Copy link
Member

For debugging purposes, it would be useful to have jpy.__version__ specified.

@chipkent chipkent added the enhancement New feature or request label Oct 12, 2023
@devinrsmith
Copy link
Member

from importlib import metadata

metadata.version('jpy')

is the most canonical way - do we need __version__? https://docs.python.org/3/library/importlib.metadata.html#distribution-versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants