From f4e5fb446d70b5a66daea869a859b1d40f7f6c18 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Thu, 27 Aug 2015 22:48:19 +0100 Subject: [PATCH] Update MANIFEST and .gitattributes * Modify `git archive` to include all source code so that creating a release source tarball is now done with `setup.py sdist` which uses the MANIFEST.in file to determine files to be included. --- .gitattributes | 10 ---------- MANIFEST.in | 5 +++-- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.gitattributes b/.gitattributes index 1dc996876..f5b921feb 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,13 +1,3 @@ -packaging export-ignore -docs/build/ export-ignore -docs/source/ export-ignore -deluge/tests/ export-ignore -deluge/scripts/ export-ignore -setup.cfg export-ignore -generate_pot.py export-ignore -gen_web_gettext.py export-ignore -deluge/ui/web/docs/ export-ignore - .gitattributes export-ignore .gitmodules export-ignore .gitignore export-ignore diff --git a/MANIFEST.in b/MANIFEST.in index d13f2492f..7b9bb2dd7 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,11 +1,12 @@ -include AUTHORS ChangeLog DEPENDS LICENSE msgfmt.py RELEASE-VERSION version.py +include AUTHORS ChangeLog DEPENDS LICENSE msgfmt.py RELEASE-VERSION version.py README.rst + graft docs/man include deluge/i18n/*.po recursive-exclude deluge/i18n LC_MESSAGES *.mo graft deluge/plugins -recursive-exclude deluge/plugins create_dev_link.sh *.pyc +recursive-exclude deluge/plugins create_dev_link.sh *.pyc *.egg prune deluge/tests graft deluge/ui/data