From 4cdde2dc1ceee65c8e850b69b11b339c4a3cde7a Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 11 May 2016 00:42:00 +0300 Subject: [PATCH] Include docs in sdist --- MANIFEST.in | 11 ++++------- mk-distr | 2 ++ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 8858236..c132e57 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,7 +1,4 @@ -include docs/genapidocs -include sample/m_librarian.conf -include COPYING ChangeLog MANIFEST.in -include TODO mk-distr -include Makefile *.py *.rst *.txt *.css *.js *.html *.gif *.png -recursive-include docs* *.txt -recursive-include m_librarian *.mo +include docs/genapidocs sample/m_librarian.conf +include COPYING ChangeLog MANIFEST.in Makefile TODO mk-distr *.txt +recursive-include docs* Makefile *.py *.rst *.txt *.css *.js *.html *.gif *.png +recursive-include m_librarian/translations Makefile *.mo *.po diff --git a/mk-distr b/mk-distr index 8efe000..ff80c4c 100755 --- a/mk-distr +++ b/mk-distr @@ -5,6 +5,8 @@ umask 022 && git archive --format=tar --prefix=m_librarian/ "${1:-HEAD}" | (cd "$HOME/tmp" && exec tar xf -) && +cp -ap docs* "$HOME/tmp/m_librarian" && + cd "$HOME/tmp/m_librarian" && python setup.py sdist --formats=bztar && cd dist && mv m_librarian-*.tar.bz2 ../.. && cd ../.. && exec rm -rf m_librarian -- 2.39.5