include COPYING ChangeLog MANIFEST.in README.rus.txt README.txt
-include TODO requirements.txt sample/m_librarian.conf
+include TODO mk-distr requirements.txt sample/m_librarian.conf
recursive-include m_librarian *.py
--- /dev/null
+#! /bin/sh
+
+umask 022 &&
+
+git archive --format=tar --prefix=m_librarian/ "${1:-HEAD}" |
+ (cd "$HOME/tmp" && exec tar xf -) &&
+
+cd "$HOME/tmp/m_librarian" &&
+python setup.py sdist --formats=bztar &&
+cd dist && mv m_librarian-*.tar.bz2 ../.. && cd ../.. && exec rm -rf m_librarian