[Zope-dev] setup.py "extra" dependencies

Tres Seaver tseaver at palladion.com
Fri Mar 6 18:04:47 EST 2009


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

Dan Korostelev wrote:
> 2009/3/6 Tres Seaver <tseaver at palladion.com>:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Martijn Faassen wrote:
>>> Hey,
>>>
>>> Laurence Rowe wrote:
>>> [snip]
>>>> It seems there is a 'tests_require'
>>> One reason that isn't used is that apparently there is no way for us to
>>> dig up this information in the way our test runner needs, unlike extras
>>> requires.
>> If the testrunner would require 'eggtestinfo', and introspect the extra
>> data it records, this wouldn't be true any longer.
> 
> +1. Though, if that "eggtestinfo" package is really tiny, as I believe
> it is, we could just copy it into the testrunner not to create extra
> dependencies.

Its job is to register a setuptools plugin which writes extra 'egginfo':
 it therefore has to be used as a 'setup_requires' dependency (otherwise
you have to deal with obscure "first time" failures).  I think it would
make more sense to leave it around as a tiny dependency which we use
everywhere.  Making the testrunner smart enough to use the information
written by the plugin is probably more than my brain can cope with at
6:00 on a Friday evening. :)


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

iD8DBQFJsawP+gerLs4ltQ4RAo7CAJ9GZL4vS0BT7D9TtpQmoZ3H+8zvJgCgk6Wo
pSFmfNPy87+mexXoSEuvdEM=
=sLMs
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list