[improvement] is it possible to remove the reliance on `__file__`?
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 https://github.com/indygreg/PyOxidizer/issues/69 for more