There was an error while loading. Please reload this page.
1 parent a528fdb commit 6f21f5dCopy full SHA for 6f21f5d
1 file changed
setup.py
@@ -59,8 +59,8 @@ def initialize_options(self):
59
]
60
# localization
61
if using_translations:
62
- for lang in os.listdir('i18n'):
63
- lang_path = os.path.join('', 'locale', lang, 'LC_MESSAGES', 'bpython.mo')
+ for lang in os.listdir(os.path.join('i18n', 'locale')):
+ lang_path = os.sep + os.path.join('locale', lang, 'LC_MESSAGES', 'bpython.mo')
64
data_files.append(('share'+lang_path, ['i18n'+lang_path]))
65
66
cmdclass = dict(build_py=build_py,
0 commit comments