From b6165d5d28c672692c1f5578aa1ee5f2231e1da2 Mon Sep 17 00:00:00 2001 From: Florian Festi Date: Sun, 1 Sep 2019 02:26:54 +0200 Subject: [PATCH] Fix path of locale files (locales -> locale) Resolves: #169 --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index d5f0f84..8523a45 100755 --- a/setup.py +++ b/setup.py @@ -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: