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

Replaces use of __file__ #1478

Open
Ben-Mack opened this issue Feb 9, 2023 · 0 comments
Open

Replaces use of __file__ #1478

Ben-Mack opened this issue Feb 9, 2023 · 0 comments
Labels
enhancement New feature or enhancement new Needs triage. Comments are welcome!

Comments

@Ben-Mack
Copy link

Ben-Mack commented Feb 9, 2023

The __file__ attribute is not guaranteed to exist, and causes problems for a number of packaging solutions.
Please see indygreg/PyOxidizer#69

The guide recommend using importlib.resources: https://pyoxidizer.readthedocs.io/en/latest/oxidized_importer_resource_files.html#porting-code-to-modern-resources-apis

@Ben-Mack Ben-Mack added enhancement New feature or enhancement new Needs triage. Comments are welcome! labels Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement new Needs triage. Comments are welcome!
Projects
None yet
Development

No branches or pull requests

1 participant