------------------------------------------------------------
revno: 6675
committer: Barry Warsaw <[email protected]>
branch nick: reorg
timestamp: Sun 2009-01-25 13:01:41 -0500
message:
  Push the source directory into a 'src' subdirectory so that zc.buildout works
  correctly regardless of how it's used.
added:
  src/
renamed:
  mailman => src/mailman
modified:
  .bzrignore
  setup.py

=== modified file '.bzrignore'
--- a/.bzrignore        2008-12-19 04:22:17 +0000
+++ b/.bzrignore        2009-01-25 18:01:41 +0000
@@ -15,3 +15,4 @@
 develop-eggs
 parts
 ./bin
+eggs

=== modified file 'setup.py'
--- a/setup.py  2009-01-05 05:54:19 +0000
+++ b/setup.py  2009-01-25 18:01:41 +0000
@@ -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 @@
 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 @@
     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),

=== added directory 'src'
=== renamed directory 'mailman' => 'src/mailman'


--
Primary development focus
https://code.launchpad.net/~mailman-coders/mailman/3.0

You are receiving this branch notification because you are subscribed to it.
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to