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

Use pkgutil instead of pkg_resources. #8

Merged
merged 1 commit into from
Feb 22, 2018
Merged

Conversation

benjaminp
Copy link
Contributor

pkgutil is part of the standard library. So, by using pkgutil.get_data, we can avoid a runtime dependency on setuptools.

pkgutil is part of the standard library. So, by using pkgutil.get_data, we can avoid a runtime dependency on setuptools.
@kmike kmike merged commit 892e99a into kmike:master Feb 22, 2018
@kmike
Copy link
Owner

kmike commented Feb 22, 2018

Thanks @benjaminp for making code less dependent in setuptools, and more succinct at the same time!

@benjaminp
Copy link
Contributor Author

Thank you for reviewing!

@benjaminp benjaminp deleted the use-pkgutil branch February 22, 2018 21:31
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