Fix path of locale files (locales -> locale)

Resolves: #169
This commit is contained in:
Florian Festi 2019-09-01 02:26:54 +02:00
parent 6c9d23af6e
commit b6165d5d28
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ class CustomBuildExtCommand(build_py):
pass
os.system("msgfmt %s -o locale/%s/LC_MESSAGES/boxes.py.mo" % (po, lang))
self.distribution.data_files.append(
(os.path.join("share", "locales", lang, "LC_MESSAGES"),
[os.path.join("locales", lang, "LC_MESSAGES", "boxes.py.mo")]))
(os.path.join("share", "locale", lang, "LC_MESSAGES"),
[os.path.join("locale", lang, "LC_MESSAGES", "boxes.py.mo")]))
def run(self):
if self.distribution.data_files is None: