X Tutup
Skip to content

Commit 6f21f5d

Browse files
committed
i18n: use correct path
1 parent a528fdb commit 6f21f5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ def initialize_options(self):
5959
]
6060
# localization
6161
if using_translations:
62-
for lang in os.listdir('i18n'):
63-
lang_path = os.path.join('', 'locale', lang, 'LC_MESSAGES', 'bpython.mo')
62+
for lang in os.listdir(os.path.join('i18n', 'locale')):
63+
lang_path = os.sep + os.path.join('locale', lang, 'LC_MESSAGES', 'bpython.mo')
6464
data_files.append(('share'+lang_path, ['i18n'+lang_path]))
6565

6666
cmdclass = dict(build_py=build_py,

0 commit comments

Comments
 (0)
X Tutup