From ddeb31dfe19724f8899cc1d89cc22885c9f819c3 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 28 Mar 2019 02:08:01 +0300 Subject: [PATCH] Build: Fix package data --- MANIFEST.in | 7 ++++++- setup.py | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) 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', -- 2.39.5