'Ensure package resources can be loaded from this loader. May be called
multiple times, as the operation is idempotent.'

@classmethod
def _register_with_pkg_resources(cls):

    try:
        import pkg_resources
        pkg_resources.__name__
    except ImportError:
        return
    pkg_resources.register_loader_type(cls, pkg_resources.DefaultProvider)
