Skip to content

Remove pkg_resources data path lookup#4

Draft
Mirochill wants to merge 1 commit into
ruizca:masterfrom
Mirochill:fix-3-drop-pkg-resources
Draft

Remove pkg_resources data path lookup#4
Mirochill wants to merge 1 commit into
ruizca:masterfrom
Mirochill:fix-3-drop-pkg-resources

Conversation

@Mirochill
Copy link
Copy Markdown

@Mirochill Mirochill commented May 22, 2026

Summary

  • remove pkg_resources imports from gdpyc.core and gdpyc.data
  • resolve the bundled gdpyc/data directory relative to the package files instead of using resource_filename

Fixes #3

Validation

  • git diff --check HEAD~1..HEAD
  • rg -n 'pkg_resources|resource_filename|get_distribution' . (no matches)
  • Not run locally

Resolve bundled gdpyc data paths relative to the package directory instead of using pkg_resources.resource_filename. This removes the import-time dependency on pkg_resources without adding a new dependency or changing the map file layout.
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.

setuptools version 82.0.0 removed pkg_resources

1 participant