From 0d0c030d50e4dbd11f33ccddb96cf13fd3470cd2 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sun, 13 Jan 2008 16:17:38 -0500 Subject: Add an interface IArchiver which is used to calculate urls and send messages to the archiver. Also add a plugin architecture for easily overriding the archiver, and hook this into the setup.py script. Updated CookHeaders.py and Scrubber.py handlers to use the plugged archiver. Updated doctests as appropriate. Fix a typo in the setup.py file. --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index fc14427b0..b992353d2 100644 --- a/setup.py +++ b/setup.py @@ -82,11 +82,12 @@ Any other spelling is incorrect.""", include_package_data = True, entry_points = { 'console_scripts': list(scripts), - 'setuptools.file_finders': 'bzr = setuptoolsbzr:find_files_for_bzr', + 'setuptools.file_finders': 'bzr = setuptools_bzr:find_files_for_bzr', # Entry point for plugging in different database backends. + 'mailman.archiver' : 'stock = Mailman.app.archiving:StockArchiver', 'mailman.database' : 'stock = Mailman.database:StockDatabase', - 'mailman.styles' : 'default = Mailman.app.styles:DefaultStyle', 'mailman.mta' : 'stock = Mailman.MTA:Manual', + 'mailman.styles' : 'default = Mailman.app.styles:DefaultStyle', }, # Third-party requirements. install_requires = [ -- cgit v1.2.3-70-g09d2