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

[improvement] is it possible to remove the reliance on __file__? #113

Closed
jaraco opened this issue Oct 22, 2020 · 2 comments
Closed

[improvement] is it possible to remove the reliance on __file__? #113

jaraco opened this issue Oct 22, 2020 · 2 comments

Comments

@jaraco
Copy link
Member

jaraco commented Oct 22, 2020

In GitLab by @Potatochup on Feb 28, 2020, 02:21

Half the point of importlib is to abstract the mess that is loading resources in python, but relying on __file__ on line https://gitlab.com/python-devs/importlib_metadata/-/blob/master/importlib_metadata/__init__.py#L591 is going causing me issues :)

I'd like to use this with python3.7 and pyoxidizer, but __file__ prevents that. see indygreg/PyOxidizer#69 for more

@jaraco
Copy link
Member Author

jaraco commented Oct 22, 2020

In GitLab by @Potatochup on Feb 28, 2020, 02:35

closed

@jaraco
Copy link
Member Author

jaraco commented Oct 22, 2020

In GitLab by @Potatochup on Feb 28, 2020, 02:36

Looks like it was __name__, not __file__, filed this ticket in error sorry

@jaraco jaraco closed this as completed Oct 22, 2020
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

No branches or pull requests

1 participant