Hey James,
On Thu, Oct 28, 2010 at 10:17 +1000, James Mills wrote:
> Hey all,
>
> Just curious... How do you setup your setup.py so that "python
> setup.py tests" works ?
I've written up an example of what i think is currently the best way
to go about it for all distutils (or setuptools) based projects:
http://codespeak.net/~hpk/pytest/goodpractises.html#integrating-with-distutils-python-setup-py-test
Another option probably is to hack a bit deeper into setuptools and/or
to wrap a py.test run into unittest "suites". The latter is maybe worth
to try out but the above documented method is very solid and avoids hassles
i think.
best,
holger
> cheers
> James
>
> --
> -- James Mills
> --
> -- "Problems are solved by method"
> _______________________________________________
> py-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/py-dev
>
--
_______________________________________________
py-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/py-dev