PyOxidizer
PyOxidizer copied to clipboard
Implement `OxidizedPkgResourcesProvider.get_resource_filename()` so `pkg_resources.resource_filename()` works
I'm filing this issue as a placeholder to track implementing OxidizedPkgResourcesProvider.get_resource_filename()
so pkg_resources.resource_filename()
works.
If you would like this feature implemented, please leave a comment below. If possible, include the name of the Python package (ideally with a link to the source code or run-time traceback output) requiring this functionality.
This is used in PyOpenXR when loading the OpenXR DLL here: https://github.com/cmbruns/pyopenxr/blob/main/src/xr/library/init.py#L12
It would be nice to have some workaround but I haven't found any so far. I've tried modifying the source of the resource after using pip_download but that seems to be immutable, fair, that would have been very hacky.