[Zope3-dev] Re: zope.i18n dependency in zope.configuration

Tres Seaver tseaver at palladion.com
Sun Oct 22 12:56:15 EDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fred Drake wrote:
> On 10/22/06, Baiju M <baiju.m.mail at gmail.com> wrote:
>> So any module imported should be added as a dependency.
>> Then, what about modules imported in test files (*.txt or test*.py
>> files) ?
> 
> Pretty much; there are cases where a package might import something
> conditionally in order to improve integration, but if it isn't
> available, the package as a whole can function just fine on its own.
> In those cases, no dependency should be recorded.
> 
> Ideally, dependencies of the implementation and the tests should be
> separated, but we've been treating them as one so far.  Moving to eggs
> should allow improvements along these lines.


Rkght:  we should record that using the "extra" features of eggs[1] (so
that the dependency is pulled in, but only if that feature is required).


[1] http://peak.telecommunity.com/DevCenter/setuptools


Tres
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFO6Kv+gerLs4ltQ4RApfWAJwPsipjprz88WkzOIRVcpuJFcWsogCgkzsA
IVZ9I1duQIthrhTMLeR1lGM=
=U686
-----END PGP SIGNATURE-----



More information about the Zope3-dev mailing list