[New-bugs-announce] [issue8688] distutils sdist is too laze w.r.t. recalculating MANIFEST

Ronald Oussoren report at bugs.python.org
Tue May 11 14:32:48 CEST 2010

New submission from Ronald Oussoren <ronaldoussoren at mac.com>:

The sdist command in distutils calculates the MANIFEST file from a template (by default MANIFEST.in). 

The code in sdist assumes that the contents of MANIFEST only depends on MANIFEST.in and setup.py, which can cause files to be missed when building an sdist.

In particular: given a MANIFEST.in file that includes all documentation in a 'Doc' subdirectory, using"recursive-include Doc *.txt" in the template, the MANIFEST won't get regenerated when a new file is added to the documentation subdirectory and hence that new file is not included in sdist distributions.

assignee: tarek
components: Distutils
messages: 105505
nosy: ronaldoussoren, tarek
priority: normal
severity: normal
stage: needs patch
status: open
title: distutils sdist is too laze w.r.t. recalculating MANIFEST
type: behavior
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list