mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-11-16 00:28:25 +01:00
Import of localization module failed when running setup.py under Python 3.
This commit is contained in:
parent
021c1e479e
commit
f9808c609b
1 changed files with 6 additions and 2 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue