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 think it should be included in the binary distributions.

Using a MANIFEST appears to do the same thing as putting "test_argparse" 
into py_modules -- that is, it puts "test_argparse.py" into both "sdist" 
and "bdist" distributions. In "bdist" distributions it gets installed to 
the site-packages directory like any other module.

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

Reply via email to