Skip to content

Fix missing pkg_resources by replacing it with existing importlib solution#106

Open
ketozhang wants to merge 1 commit intoebachelet:masterfrom
ketozhang:fix-pkg-resource-missing
Open

Fix missing pkg_resources by replacing it with existing importlib solution#106
ketozhang wants to merge 1 commit intoebachelet:masterfrom
ketozhang:fix-pkg-resource-missing

Conversation

@ketozhang
Copy link
Contributor

pkg_resources is legacy and is now part of standard Python as importlib.resources. The global constant pyLIMA.data.PACKAGE_DATA in pyLIMA handles this.

This fixes the bug of pkg_resources package missing since it was never registered as a dependency. All use of pkg_resources are removed.

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.

1 participant