[Distutils] Manifest.in not included in sdist...

Rene Liebscher R.Liebscher@gmx.de
Mon Oct 30 08:03:12 2000

This is a multi-part message in MIME format.
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

It seems I forgot to attach the patch.

file: sdist.patch
Kind regards
Rene Liebscher
Content-Type: text/plain; charset=us-ascii;
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;

diff -BurN --exclude=*.pyc --minimal distutils.orig/distutils/command/sdist.py distutils.patched2/distutils/command/sdist.py
--- distutils.orig/distutils/command/sdist.py	Mon Oct 16 11:37:41 2000
+++ distutils.patched2/distutils/command/sdist.py	Mon Oct 30 13:13:36 2000
@@ -244,6 +244,8 @@
             # Read manifest template if it exists
             if template_exists:
+                if self.use_defaults: # don't forget MANIFEST.in
+                    self.filelist.append(self.template)
             # Prune away any directories that don't belong in the source
             # distribution