[Python-Dev] adding a "test" fork to a setup.py package

Bill Janssen janssen at parc.com
Tue Sep 11 20:12:09 CEST 2007


I'm packaging up the SSL support for Python 2.3, and I'd like to be
able to include the unit test for it along with the package.  Ideally,
I'd like to be able to say

    % python setup.py build
    % python setup.py test

and have the regrtest.py module run my tests.  Any ideas (examples) of
how to do that?

Bill


More information about the Python-Dev mailing list