Skip to content

Replace pkg_resource by importlib_resources #970

@gsemet

Description

@gsemet

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions