[Python-Dev] running tests; mebs (original) (raw)

Daniel Holth dholth at gmail.com
Tue Mar 5 03:24:57 CET 2013


As a community, we know how important tests are, so I think our tools should reflect that and make it easy for those tests to be expressed. As a selfish side-effect, I want to reduce the amount of guesswork I need to perform in order to know how to run a package's test when I $vcs clone their repository. ;)

Distutils2 had a way of specifying this in the metadata. It looks like this hasn't made it into the reboot: http://alexis.notmyidea.org/distutils2/distutils/newcommands.html Michael Cheers, -Barry

I'm not aware of a reboot of the setup.py replacement / improvement effort. The work that has been done has proceeded backwards from the installer end of things.

I had a proposal called "mebs, not an actual project". A completely plugin-based system would recognize any sdist format and provide a minimal, consistent interface. Add tests to the below text from October.

...

A very simple meta-build system "mebs" is used to recognize sdists and build binary packages. Build systems provide plugins having three methods,

.recognize() .metadata() .build()

An installer downloads an sdist. For each installed build plugin, .recognize(dir) is called. The first plugin to return True is used.



More information about the Python-Dev mailing list