Skip to content

pkg_resources Add PKG_INFO str attribute for Distribution class #2775

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

Merged
merged 1 commit into from
Feb 1, 2019
Merged

pkg_resources Add PKG_INFO str attribute for Distribution class #2775

merged 1 commit into from
Feb 1, 2019

Conversation

ewjoachim
Copy link
Contributor

@ewjoachim ewjoachim commented Jan 30, 2019

To avoid

error: "Distribution" has no attribute "PKG_INFO"

This is the corresponding implementation:
https://github.com/pypa/setuptools/blob/8f82e5077e2d3aab14aa3da636f79d37ff6d7ed7/pkg_resources/__init__.py#L2531

@JelleZijlstra JelleZijlstra merged commit 90d3a6e into python:master Feb 1, 2019
@ewjoachim ewjoachim deleted the patch-1 branch February 2, 2019 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants