Commit eefd06f1 authored by Barry Warsaw's avatar Barry Warsaw

Push the source directory into a 'src' subdirectory so that zc.buildout works

correctly regardless of how it's used.
parent 07871212
......@@ -15,3 +15,4 @@ bin
develop-eggs
parts
./bin
eggs
# 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),
......