[Zope-dev] Namespace declaration using pkgutil vs pkg_resources
Tres Seaver
tseaver at palladion.com
Wed Mar 11 10:26:48 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jim Fulton wrote:
> On Mar 11, 2009, at 8:24 AM, Baiju M wrote:
>
>> Hi All,
>> Now we have 'setuptools' as a dependency for all packages.
>> (I guess this is to make Buildout happy ?)
>
> No, it is because setuptools is needed for namespace packages.
The boilerpate Baiju is wondering about replacement shows how to do
non-setuptools "extensible" packages (quasi-namespaces). Declaring the
dependency on setuptools is a bit silly, because only setuptools knows
about dependencies: the only reason we declare it everywhere is to
appease zc.buildout.
I would leave the boilerplate alone, on the chance that it makes the
package usable via straight distutils.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJt8oo+gerLs4ltQ4RAmlwAJ4luuHcp8fY6DNI83mdvJNHQi5vGwCgpWGA
YvcZU4qT5Pe0Qu7y3RLo8fw=
=nZvD
-----END PGP SIGNATURE-----
More information about the Zope-Dev
mailing list