Robert Kern wrote:
> Steven Bethard wrote:
>> How do I get distutils to include my testing module in just the "sdist" 
>> distribution?
> 
> Use a MANIFEST.

Thanks again to Robert Kern for all the help.  For the record, in the 
end all I did was add a MANIFEST.in file with the single line:

     include test_argparse.py

and "test_argparse.py" got included in the source distribution and left 
out of the binary distributions.

It's a pity there's no way to specify something this simple in the 
setup.py file, but since I'm not offering to maintain distutils, I guess 
I don't really have a right to complain. ;-)

STeVe
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to