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 !
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 :
It would be really helpfull to have this, thx !