[Distutils] pkg_resources API use according to Nullege search engine

Vinay Sajip vinay_sajip at yahoo.co.uk
Tue Oct 2 20:44:37 CEST 2012


Daniel Holth <dholth <at> gmail.com> writes:

> dlopen() is the canonical example of an API that can only use a filename.

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?

Regards,

Vinay Sajip




More information about the Distutils-SIG mailing list