equal
deleted
inserted
replaced
3 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com> |
3 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com> |
4 # |
4 # |
5 # This software may be used and distributed according to the terms of the |
5 # This software may be used and distributed according to the terms of the |
6 # GNU General Public License version 2 or any later version. |
6 # GNU General Public License version 2 or any later version. |
7 |
7 |
8 import encoding |
8 from __future__ import absolute_import |
9 import gettext as gettextmod, sys, os, locale |
9 |
|
10 import gettext as gettextmod |
|
11 import locale |
|
12 import os |
|
13 import sys |
|
14 |
|
15 from . import encoding |
10 |
16 |
11 # modelled after templater.templatepath: |
17 # modelled after templater.templatepath: |
12 if getattr(sys, 'frozen', None) is not None: |
18 if getattr(sys, 'frozen', None) is not None: |
13 module = sys.executable |
19 module = sys.executable |
14 else: |
20 else: |