summaryrefslogtreecommitdiff
path: root/misc/paths.py.in
diff options
context:
space:
mode:
authorbwarsaw2001-10-01 21:57:50 +0000
committerbwarsaw2001-10-01 21:57:50 +0000
commit56e40cad1c7c4c493bdc9b9bf60984538e144d82 (patch)
tree5c2cbc9150b195600c4a0eb006ea21de6dbe6bcc /misc/paths.py.in
parent662b0878fad5a539b8e14b5e32bbce0dae138978 (diff)
downloadmailman-56e40cad1c7c4c493bdc9b9bf60984538e144d82.tar.gz
mailman-56e40cad1c7c4c493bdc9b9bf60984538e144d82.tar.zst
mailman-56e40cad1c7c4c493bdc9b9bf60984538e144d82.zip
Don't do site path hackery here, it's still gotta be done in
Defaults.py.in otherwise the scripts/driver doesn't work (because it doesn't import paths.py). :(
Diffstat (limited to 'misc/paths.py.in')
-rw-r--r--misc/paths.py.in10
1 files changed, 1 insertions, 9 deletions
diff --git a/misc/paths.py.in b/misc/paths.py.in
index 9d33e183d..7b98b50ba 100644
--- a/misc/paths.py.in
+++ b/misc/paths.py.in
@@ -32,14 +32,6 @@ if exec_prefix == '${prefix}':
exec_prefix = prefix
# Hack the path to include the parent directory of the $prefix/Mailman package
-# directory. Also include Python's site-packages directory if it isn't
-# already part of the search path. We need this until we require Python 2.2,
-# which includes the email package in its standard library. Until then, we
-# distribute the email package as a distutils install.
+# directory.
import sys
-import os
-
sys.path.insert(0, prefix)
-sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3],
- 'site-packages')
-sys.path.append(sitedir)