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 for relative paths to data files #414

Open
jsstevenson opened this issue Apr 2, 2024 · 0 comments
Open

use pkgutil for relative paths to data files #414

jsstevenson opened this issue Apr 2, 2024 · 0 comments
Labels
priority:low Low priority technical debt A feature/requirement implemented in a sub-optimal way & must be re-written. Contrast to "cleanup"

Comments

@jsstevenson
Copy link
Member

Branching from __file__ limits some portability edge cases:

https://stackoverflow.com/questions/6028000/how-to-read-a-static-file-from-inside-a-python-package/58941536#58941536

@jsstevenson jsstevenson added technical debt A feature/requirement implemented in a sub-optimal way & must be re-written. Contrast to "cleanup" priority:low Low priority labels Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:low Low priority technical debt A feature/requirement implemented in a sub-optimal way & must be re-written. Contrast to "cleanup"
Projects
None yet
Development

No branches or pull requests

1 participant