Skip to content

ZipProvider do not support resource_filename #402

Closed

Description

Originally reported by: moimael (Bitbucket: moimael, GitHub: moimael)


HI,

I use pkg_resources for a complex install script. This script is packaged as a .pyz. pkg_resources work when i use it to load modules inside my zip but do not work when I want to extract and have access to resource files via resource_filename.

here is the faulty method :

    if not self.egg_name:
        raise NotImplementedError(
            "resource_filename() only supported for .egg, not .zip"
        )

It would be really helpfull to have this, thx !


Activity

  1. added
    Needs Triage
    on Oct 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs Triageenhancementmajor

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions