[Distutils] pkg_resources API use according to Nullege search engine

Barry Warsaw barry at python.org
Mon Oct 1 16:46:30 CEST 2012


On Sep 30, 2012, at 10:00 PM, Daniel Holth wrote:

>resource_filename is very popular. I would have thought
>resource_stream would be more popular. Unless your package is zipped
>resource_filename is trivial to implement.

I've used declare_namespace() once or twice.

I use resource_filename(), resource_string(), resource_stream(), and
resource_listdir() quite a bit.

Cheers,
-Barry


More information about the Distutils-SIG mailing list