Re: distutils, sdist and tests

2007-01-27 Thread Steven Bethard
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: i

Re: distutils, sdist and tests

2007-01-27 Thread Steven Bethard
Robert Kern wrote: > Steven Bethard wrote: >> Robert Kern wrote: > >>> Are you sure that you don't have changes left over in your setup.py when you >>> tested that? >> Yep. (Though I still cleared everything out and tried it again.) >> Here's what I got using an unmodified setup.py and the MANIF

Re: distutils, sdist and tests

2007-01-27 Thread Robert Kern
Steven Bethard wrote: > Robert Kern wrote: >> Are you sure that you don't have changes left over in your setup.py when you >> tested that? > > Yep. (Though I still cleared everything out and tried it again.) > Here's what I got using an unmodified setup.py and the MANIFEST.in you > suggested.

Re: distutils, sdist and tests

2007-01-27 Thread Steven Bethard
Robert Kern wrote: > Steven Bethard wrote: >> Robert Kern wrote: >>> 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 > > Also, I just noted this tidbit:

Re: distutils, sdist and tests

2007-01-27 Thread Robert Kern
Steven Bethard wrote: > Robert Kern wrote: >> 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 Also, I just noted this tidbit: """If you don't supply an expl

Re: distutils, sdist and tests

2007-01-27 Thread Steven Bethard
Robert Kern wrote: > 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

Re: distutils, sdist and tests

2007-01-27 Thread Robert Kern
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

distutils, sdist and tests

2007-01-27 Thread Steven Bethard
How do I get distutils to include my testing module in just the "sdist" distribution? My current call to setup() looks like:: distutils.core.setup( ... py_modules=['argparse'], ) If change this to:: distutils.core.setup( ... py_modules=['argpa