New submission from Ronald Oussoren <ronaldousso...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue8688> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com