Translation files are now included during packaging via setup.py.

This commit is contained in:
Adam Waldenberg 2013-07-02 07:35:40 +02:00
parent 017f63e98a
commit 15026f6f00
2 changed files with 2 additions and 1 deletions

View file

@ -1,2 +1,3 @@
include gitinspector/html/* include gitinspector/html/*
include gitinspector/translations/*
include *.txt include *.txt

View file

@ -45,7 +45,7 @@ setup(
"Topic :: Utilities" "Topic :: Utilities"
], ],
packages = find_packages(), packages = find_packages(),
package_data = {"": ["html/*"]}, package_data = {"": ["html/*", "translations/*"]},
data_files = [("share/doc/gitinspector", glob("*.txt"))], data_files = [("share/doc/gitinspector", glob("*.txt"))],
entry_points = {"console_scripts": ["gitinspector = gitinspector.gitinspector:main"]}, entry_points = {"console_scripts": ["gitinspector = gitinspector.gitinspector:main"]},
zip_safe = True zip_safe = True