summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorBarry Warsaw2009-01-25 13:01:41 -0500
committerBarry Warsaw2009-01-25 13:01:41 -0500
commiteefd06f1b88b8ecbb23a9013cd223b72ca85c20d (patch)
tree72c947fe16fce0e07e996ee74020b26585d7e846 /setup.py
parent07871212f74498abd56bef3919bf3e029eb8b930 (diff)
downloadmailman-eefd06f1b88b8ecbb23a9013cd223b72ca85c20d.tar.gz
mailman-eefd06f1b88b8ecbb23a9013cd223b72ca85c20d.tar.zst
mailman-eefd06f1b88b8ecbb23a9013cd223b72ca85c20d.zip
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 117528b7e..4d807a5ee 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2007-2008 by the Free Software Foundation, Inc.
+# Copyright (C) 2007-2009 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
@@ -21,6 +21,8 @@ ez_setup.use_setuptools()
import sys
from string import Template
+sys.path.insert(0, 'src')
+
import mailman.bin
from mailman.version import VERSION as __version__
from setuptools import setup, find_packages
@@ -86,7 +88,8 @@ case second `m'. Any other spelling is incorrect.""",
license = 'GPLv3',
url = 'http://www.list.org',
keywords = 'email',
- packages = find_packages(),
+ packages = find_packages('src'),
+ package_dir = {'': 'src'},
include_package_data = True,
entry_points = {
'console_scripts': list(scripts),