-
Notifications
You must be signed in to change notification settings - Fork 923
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 importlib.metadata as an approach in "Single-sourcing the package version" #616
Comments
I think this issue can be closed as it is already handled in 3c7c07f (and followup tweaks) |
I think the documentation could be improved; looking at option 5 in https://packaging.python.org/en/latest/guides/single-sourcing-package-version/, I don't actually see a complete example of this technique. |
I suggest that we close this out and file a separate issue for improving the option 5 to de-emphasize |
The current version of "Single-sourcing the package version" has an example using
pkg_resources
. It would probably make sense to include an item usingimportlib.metadata
since it will be standard in 3.8 with a backport asimportlib_metadata
and can serve the same purpose. That may look likeThe text was updated successfully, but these errors were encountered: