]> git.phdru.name Git - m_librarian.git/commitdiff
Build: Fix package data
authorOleg Broytman <phd@phdru.name>
Wed, 27 Mar 2019 23:08:01 +0000 (02:08 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 27 Mar 2019 23:15:10 +0000 (02:15 +0300)
MANIFEST.in
setup.py

index c4714f7c49cfc36aeefecc1af6c2b4f257f993d6..d73b9c9b44f4f39875d858f3821e9a729ec20ead 100644 (file)
@@ -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 *
index 82f1b86ae47f3614920e283b0d61d171ed95cd19..cfe8db3186a5da97164cca822a6915da072f6952 100755 (executable)
--- 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',