It's actually not bad. I put the test code and the data files in a
"test" subdirectory of my distribution, then added the following to
the setup.py file:
class Test (Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
Barry Warsaw schrieb:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Sep 11, 2007, at 2:12 PM, Bill Janssen wrote:
>
>> 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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sep 11, 2007, at 2:12 PM, Bill Janssen wrote:
> 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 buil
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 t