aboutsummaryrefslogtreecommitdiffstats
path: root/misc/paths.py.in
diff options
context:
space:
mode:
authorYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2016-09-30 06:11:42 +0900
committerYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2016-09-30 06:11:42 +0900
commiteda2cc91d4e0332df8ee2ecae8aa9fdbc7e68809 (patch)
treec176ebc26d99e34b314610f3fec89b776dc9beb0 /misc/paths.py.in
parent1dac81b59ef0e6eeff85ec8665a2be2dbab38d44 (diff)
parentf436fcb0c2e73fcc0e52b609f8464999759ac261 (diff)
downloadmailman2-eda2cc91d4e0332df8ee2ecae8aa9fdbc7e68809.tar.gz
mailman2-eda2cc91d4e0332df8ee2ecae8aa9fdbc7e68809.tar.xz
mailman2-eda2cc91d4e0332df8ee2ecae8aa9fdbc7e68809.zip
Merge lp:mailman/2.1 rev 1677
Diffstat (limited to '')
-rw-r--r--misc/paths.py.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/misc/paths.py.in b/misc/paths.py.in
index c5e56177..b4aae14e 100644
--- a/misc/paths.py.in
+++ b/misc/paths.py.in
@@ -1,6 +1,6 @@
# -*- python -*-
-# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2016 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -62,6 +62,11 @@ sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3],
'site-packages')
sys.path.append(sitedir)
+# Include Python's dist-packages directory.
+distdir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3],
+ 'dist-packages')
+sys.path.append(distdir)
+
# In a normal interactive Python environment, the japanese.pth and korean.pth
# files would be imported automatically. But because we inhibit the importing