PyOxidizer icon indicating copy to clipboard operation
PyOxidizer copied to clipboard

Implement `OxidizedPkgResourcesProvider.get_resource_filename()` so `pkg_resources.resource_filename()` works

Open indygreg opened this issue 3 years ago • 1 comments

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.

indygreg avatar Apr 18 '21 17:04 indygreg

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.

hrolfurgylfa avatar Dec 13 '22 18:12 hrolfurgylfa