distutils, sdist and tests
steven.bethard at gmail.com
Sun Jan 28 07:49:02 CET 2007
Robert Kern wrote:
> Steven Bethard wrote:
>> How do I get distutils to include my testing module in just the "sdist"
> 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:
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. ;-)
More information about the Python-list