]> git.phdru.name Git - m_librarian.git/commitdiff
Install translations
authorOleg Broytman <phd@phdru.name>
Tue, 26 Jul 2016 20:23:30 +0000 (23:23 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 26 Jul 2016 20:23:30 +0000 (23:23 +0300)
setup.py

index 9f6ded74b53e19602c4c61e52098a0a179ece4d8..ad9062701c3ca1ef7fa8e9c90dfa9c77627a9759 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -47,7 +47,11 @@ setup(name='m_librarian',
           'Programming Language :: Python :: 2 :: Only',
       ],
       packages=['m_librarian'],
-      package_data={'m_librarian': ['glst/*.txt', 'glst/genres_*.glst']},
+      package_data={'m_librarian': [
+          'glst/*.txt', 'glst/genres_*.glst',
+          'translations/*.mo'
+          ]
+      },
       scripts=['scripts/ml-import.py', 'scripts/ml-initdb.py',
                'scripts/ml-search.py'],
       **kw