[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.
--------------4BE2DB74C592F5B7F4944BEC
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
--------------4BE2DB74C592F5B7F4944BEC
Content-Type: text/plain; charset=us-ascii;
 name="sdist.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="sdist.patch"

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:
                 self.read_template()
+                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

--------------4BE2DB74C592F5B7F4944BEC--