[Python-Dev] package resources [was: "setuptools has divided the Python community"]

Jim Jewett jimjjewett at gmail.com
Sun Mar 29 03:17:47 CEST 2009


At 11:27 PM 3/26/2009 +0000, Paul Moore wrote:
>> What I'd really like is essentially some form of "virtual filesystem"
>> access to stuff addressed relative to a Python package name,

P.J. Eby responded:
> Note that relative to a *Python package name* isn't quite as useful,
> due to namespace packages.  To be unambiguous as to the targeted
> resource, one needs to be able to reference a specific project, and
> that requires you to go off the name of a module *within* a
> package.  For example, 'zope.somemodule' rather than just 'zope'.

I would expect it to be *most* important then.  If I know for sure
that an entire package is all together in a single directory, I can
just use that directory.  If I want all xxx files used by zope, then
... I *do* want information on the duplicates, and the multiple
locations.

-jJ


More information about the Python-Dev mailing list