distutils, sdist and tests
Robert Kern
robert.kern at gmail.com
Sat Jan 27 16:50:08 EST 2007
Steven Bethard wrote:
> How do I get distutils to include my testing module in just the "sdist"
> distribution?
Use a MANIFEST.
http://docs.python.org/dist/source-dist.html
> I want test_argparse.py to be available in the source distribution, but
> I don't think it should be included in the binary distributions.
>
> Or am I just being to picky? Do folks normally include their tests in
> the binary distributions?
Some do, but only when they are packages and can thus hide.the.tests .
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Python-list
mailing list