distutils sdist and MANIFEST files

D

David Fraser

Hi

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?

David
 
?

=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

David said:
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
 
D

David Fraser

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

Regards,
Martin
Thanks, I'll have a look at this...

David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top