Hi.
Can you provide a future-proof loader that use importlib_resources instead of pkg_resource, which does not work pretty well in every case (on my pyinstaller package for instance it fails).
For me the use of pkg_resource should be avoided, it is about to be discarded (or maybe one day setuptools will not embed it). Providing a loader compatible with importlib_resources (the backport that brings' 3.7 importlib.resources to Python <3.7) is the easiest and more future-proof solution.
Thanks
Hi.
Can you provide a future-proof loader that use
importlib_resourcesinstead ofpkg_resource, which does not work pretty well in every case (on my pyinstaller package for instance it fails).For me the use of
pkg_resourceshould be avoided, it is about to be discarded (or maybe one day setuptools will not embed it). Providing a loader compatible withimportlib_resources(the backport that brings' 3.7importlib.resourcesto Python <3.7) is the easiest and more future-proof solution.Thanks