From: Oleg Broytman Date: Wed, 27 Mar 2019 23:08:01 +0000 (+0300) Subject: Build: Fix package data X-Git-Tag: 0.1.6~29 X-Git-Url: https://git.phdru.name/?p=m_librarian.git;a=commitdiff_plain;h=ddeb31dfe19724f8899cc1d89cc22885c9f819c3 Build: Fix package data --- diff --git a/MANIFEST.in b/MANIFEST.in index c4714f7..d73b9c9 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,11 @@ global-include Makefile *.py *.rst *.txt -include sample/m_librarian.conf include docs/genapidocs COPYING MANIFEST.in TODO mk-distr tox.ini +include m_librarian.conf.sample +include m_librarian/web/static/style.css +include m_librarian/web/views/*.tmpl recursive-include docs* *.css *.js *.html *.gif *.png +recursive-include m_librarian/glst genres_*.glst recursive-include m_librarian/translations *.mo *.po recursive-include tests test_config.conf *.inpx +recursive-exclude devscripts * +recursive-exclude docs*/_build * diff --git a/setup.py b/setup.py index 82f1b86..cfe8db3 100755 --- a/setup.py +++ b/setup.py @@ -59,7 +59,8 @@ setup( packages=['m_librarian', 'm_librarian.web'], package_data={'m_librarian': [ 'glst/*.txt', 'glst/genres_*.glst', - 'translations/*.mo' + 'translations/*.mo', 'translations/*.po', + 'web/static/style.css', 'web/views/*.py', 'web/views/*.tmpl', ] }, scripts=['scripts/ml-import.py', 'scripts/ml-initdb.py',