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

Fred Drake wrote:
> On 10/22/06, Baiju M <[EMAIL PROTECTED]> 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          [EMAIL PROTECTED]
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-----
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to