[Distutils] test resources with setup tools

P.J. Eby pje at telecommunity.com
Fri Apr 23 18:44:51 CEST 2010

At 12:19 PM 4/23/2010 +0200, Manlio Perillo wrote:
>In a project test suite I need some external resources, that must be
>downloaded from internet.
>Is this directly supported by setuptools, or it is better if I write an
>additional script that does the job?

If the resources can be accessed in the form of an .egg file (or 
directory) added to sys.path, setuptools can handle it.  Just add 
'tests_require=requirementslist' to your setup().

More information about the Distutils-SIG mailing list