[Distutils] Where should I put tests when packaging python modules?
Wes Turner
wes.turner at gmail.com
Wed Oct 7 13:11:43 CEST 2015
On Oct 7, 2015 12:44 AM, "Marius Gedminas" <marius at gedmin.as> wrote:
>
> On Tue, Oct 06, 2015 at 05:21:27PM -0400, Barry Warsaw wrote:
> > On Oct 06, 2015, at 06:21 AM, Donald Stufft wrote:
> >
> > >FreeBSD relies on ``python setup.py test`` as it's preferred test
invocation,
> > >so it apparently doesn't find it useful either.
> >
> > Oh how I wish there was a standard way to *declare* how to run the test
suite,
> > such that all our automated tools (or the humans :) didn't have to
guess.
make test
>
> I have hopes for 'tox.ini' becoming the standard way to test a Python
> project.
* https://tox.readthedocs.org/en/latest/config.html
* https://github.com/docker/docker-registry/blob/master/tox.ini #flake8
* dox = docker + tox
| PyPI: https://pypi.python.org/pypi/dox
| Src: https://git.openstack.org/cgit/stackforge/dox/tree/dox.yml
* docker-compose.yml
| Docs: https://docs.docker.com/compose/
| Docs: https://github.com/docker/compose/blob/master/docs/yml.md
*
https://github.com/kelseyhightower/kubernetes-docker-files/blob/master/docker-compose.yml
*
https://github.com/kubernetes/kubernetes/blob/master/docs/user-guide/pods.md#alternatives-considered
* https://github.com/docker/docker/issues/8781 ( pods ( containers
) )
* http://docs.buildbot.net/latest/tutorial/docker.html
*
http://docs.buildbot.net/current/tutorial/docker.html#building-and-running-buildbot
tox.ini often is not sufficient:
* [Makefile: make test/tox]
* setup.py
* tox.ini
* docker/platform-ver/Dockerfile
* [dox.yml]
* [docker-compose.yml]
* [CI config]
* http://docs.buildbot.net/current/manual/configuration.html
* jenkins-kubernetes, jenkins-mesos
>
> Marius Gedminas
> --
> "Actually, the Singularity seems rather useful in the entire work
avoidance
> field. "I _could_ write up that report now but if I put it off, I may well
> become a weakly godlike entity, at which point not only will I be able to
> type faster but my comments will be more on-target." - James Nicoll
>
> _______________________________________________
> Distutils-SIG maillist - Distutils-SIG at python.org
> https://mail.python.org/mailman/listinfo/distutils-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20151007/425adda2/attachment.html>
More information about the Distutils-SIG
mailing list