[Distutils] pkg_resources API use according to Nullege search engine

Barry Warsaw barry at python.org
Tue Oct 2 21:17:20 CEST 2012


On Oct 02, 2012, at 06:44 PM, Vinay Sajip wrote:

>Okay. Naturally there is already support for absolute paths in the file
>system for resources which are in the file system, so the question was really
>for resources in zips. Is it expected that the scenario will be quite common
>to get a .so or similar out of a package in a .zip into a cache, so that the
>name in the cache can be passed to dlopen()? Do you know of any specific PyPI
>distributions which do that, so I can look at them for testing etc?

This is kind of missing the point.  You want to be able to write code against
a single API and not care whether the file you need is already unpacked or in
a zip.

Cheers,
-Barry


More information about the Distutils-SIG mailing list