[SciPy-dev] [scikits] setuptools, tests and subpackages

Robert Kern robert.kern at gmail.com
Mon Jul 2 12:21:43 EDT 2007


David Cournapeau wrote:
> Hi,
> 
>     I would like to know if anyone knowledgable about setuptools knows 
> the best way to tell setuptools how to call unittests in a packages 
> containing subpackages ? In a scipy package, having a test function in 
> __init__ is enough to get the unittests added to the whole scipy test 
> suite, but with setuptools, how do I do that ?

http://peak.telecommunity.com/DevCenter/setuptools#test-build-package-and-run-a-unittest-suite

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco



More information about the SciPy-Dev mailing list