1
0

simplify setup.py using package_data

This commit is contained in:
ThomasV
2015-02-18 17:13:41 +01:00
parent 619ee02df8
commit b5ac7f2a7c
16 changed files with 22 additions and 109 deletions

View File

@@ -18,11 +18,7 @@
import gettext, os
if os.path.exists('./locale'):
LOCALE_DIR = './locale'
else:
LOCALE_DIR = '/usr/share/locale'
LOCALE_DIR = os.path.join(os.path.dirname(__file__), 'locale')
language = gettext.translation('electrum', LOCALE_DIR, fallback = True)