distutils sdist and MANIFEST files

"Martin v. Löwis" martin at v.loewis.de
Wed Jun 2 14:25:30 EDT 2004


David Fraser wrote:
> Does anyone else find it annoying that the sdist command for distutils 
> relies on MANIFEST.in and MANIFEST files?
> I would really like to be able to do everything in the setup script ; if 
> I don't, the MANIFEST files get created automatically (with warnings) 
> and any new scripts added are forgotten.
> 
> Any alternative approaches to this?

You can derive from the sdist command and override the read_template
function.

Regards,
Martin




More information about the Python-list mailing list