-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jim Fulton wrote:
On Mar 11, 2007, at 11:08 AM, Nathan R. Yergler wrote: ...
I tried using zc.recipe.testbrowser, thinking that maybe it'd look at the tests_require for the target eggs, but no such luck.
The tests_require option is only visible to the setup script. It doesn't cause any data to be included in egg info. It is an attractive nuisance IMO.
I hope the attached patch (against the head of the setuptools 0.6 branch) makes it less of a nuisance. The patch adds an egg-info file entry point which writes the 'tests_require' value to a fill in the .egg-info directory.
It would be trivial to add another which dumped the 'test_suite' info as well: perhaps a single ConfigParser-style file with two keys would have more parsimony.
Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 email@example.com Palladion Software "Excellence by Design" http://palladion.com