Import of localization module failed when running setup.py under Python 3.

This commit is contained in:
Adam Waldenberg 2013-07-01 03:17:35 +02:00
parent 021c1e479e
commit f9808c609b

View file

@ -20,8 +20,12 @@
from __future__ import print_function
from __future__ import unicode_literals
import localization
localization.init()
try:
import localization
localization.init()
except:
import gitinspector.localization
gitinspector.localization.init()
__version__ = "0.2.2"