summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/paths.py.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/paths.py.in b/misc/paths.py.in
index b42d0d361..90bfde7e1 100644
--- a/misc/paths.py.in
+++ b/misc/paths.py.in
@@ -47,3 +47,10 @@ sys.path.insert(0, os.path.join(prefix, 'pythonlib'))
sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3],
'site-packages')
sys.path.append(sitedir)
+
+
+# In a normal interactive Python environment, the japanese.pth and korean.pth
+# files would be imported automatically. But because we inhibit the importing
+# of the site module, we need to be explicit about importing these codecs.
+import japanese
+import korean