Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unification of release information, setup script, and setup configura…
…tion and now correct use of internal exceptions upon message failure.
- Loading branch information
Showing
12 changed files
with
107 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
*.egg-info | ||
*.pyc | ||
.coverage | ||
build/ | ||
dist/ | ||
examples/local.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
[nosetests] | ||
with-coverage = 1 | ||
quiet = true | ||
with-coverage = true | ||
cover-package = marrow.mailer | ||
cover-erase = 1 | ||
;cover-inclusive = 1 | ||
cover-inclusive = true | ||
where = tests | ||
detailed-errors = true | ||
with-achievements = true | ||
|
||
[aliases] | ||
;test = nosetests | ||
test = nosetests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,87 @@ | ||
#!/usr/bin/env python | ||
# encoding: utf-8 | ||
|
||
import sys | ||
import os | ||
import sys | ||
|
||
from setuptools import setup, find_packages | ||
|
||
|
||
if sys.version_info < (2, 6): | ||
raise SystemExit("Python 2.6 or later is required.") | ||
|
||
exec(open(os.path.join("marrow", "mailer", "release.py")).read()) | ||
exec(open(os.path.join("marrow", "mailer", "release.py"))) | ||
|
||
|
||
|
||
setup( | ||
name="marrow.mailer", | ||
version=version, | ||
|
||
description=""" | ||
A highly efficient and modular mail delivery framework for | ||
Python 2.6+ and 3.1+, formerly called TurboMail.""", | ||
author="Alice Bevan-McGregor", | ||
author_email="alice+marrow@gothcandy.com", | ||
url="https://github.com/marrow/marrow.mailer", | ||
download_url="http://pypi.python.org/pypi/marrow.mailer", | ||
license="MIT", | ||
keywords="", | ||
|
||
install_requires=["marrow.util", "marrow.interface"], | ||
|
||
test_suite="nose.collector", | ||
tests_require=["nose", "coverage"], | ||
|
||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"Environment :: Console", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2.6", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.1", | ||
"Programming Language :: Python :: 3.2", | ||
"Topic :: Software Development :: Libraries :: Python Modules" | ||
], | ||
|
||
packages=find_packages(exclude=["examples", "tests"]), | ||
zip_safe=True, | ||
include_package_data=True, | ||
package_data={ | ||
"": ["README.textile", "LICENSE", "distribute_setup.py"] | ||
}, | ||
|
||
namespace_packages=["marrow"], | ||
entry_points = { | ||
'marrow.mailer.manager': [ | ||
"immediate = marrow.mailer.manager.immediate:ImmediateManager", | ||
"futures = marrow.mailer.manager.futures:FuturesManager", | ||
"dynamic = marrow.mailer.manager.dynamic:DynamicManager", | ||
"transactional = marrow.mailer.manager.transactional:TransactionalDynamicManager" | ||
name = "marrow.mailer", | ||
version = version, | ||
|
||
description = "A highly efficient and modular mail delivery framework for Python 2.6+ and 3.1+, formerly called TurboMail.", | ||
long_description = """\ | ||
For full documentation, see the README.textile file present in the package, | ||
or view it online on the GitHub project page: | ||
https://github.com/marrow/marrow.mailer""", | ||
|
||
author = "Alice Bevan-McGregor", | ||
author_email = "alice+marrow@gothcandy.com", | ||
url = "https://github.com/marrow/marrow.wsgi.objects", | ||
license = "MIT", | ||
|
||
install_requires = [ | ||
'marrow.util < 2.0', | ||
'marrow.interface < 2.0' | ||
], | ||
|
||
test_suite = 'nose.collector', | ||
tests_require = [ | ||
'nose', | ||
'coverage' | ||
], | ||
|
||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"Environment :: Console", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2.6", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.1", | ||
"Programming Language :: Python :: 3.2", | ||
"Topic :: Software Development :: Libraries :: Python Modules" | ||
], | ||
'marrow.mailer.transport': [ | ||
"amazon = marrow.mailer.transport.ses:AmazonTransport", | ||
"mock = marrow.mailer.transport.mock:MockTransport", | ||
"smtp = marrow.mailer.transport.smtp:SMTPTransport", | ||
"mbox = marrow.mailer.transport.mbox:MailboxTransport", | ||
"mailbox = marrow.mailer.transport.mbox:MailboxTransport", | ||
"maildir = marrow.mailer.transport.maildir:MaildirTransport", | ||
"sendmail = marrow.mailer.transport.sendmail:SendmailTransport", | ||
"imap = marrow.mailer.transport.imap:IMAPTransport", | ||
"appengine = marrow.mailer.transport.gae:AppEngineTransport", | ||
"logging = marrow.mailer.transport.log:LoggingTransport", | ||
"sms = marrow.mailer.transport.sms:SMSTransport", | ||
] | ||
} | ||
) | ||
|
||
packages = find_packages(exclude=['examples', 'tests']), | ||
zip_safe = True, | ||
include_package_data = True, | ||
package_data = {'': ['README.textile', 'LICENSE']}, | ||
|
||
namespace_packages = ['marrow'], | ||
|
||
entry_points = { | ||
'marrow.mailer.manager': [ | ||
'immediate = marrow.mailer.manager.immediate:ImmediateManager', | ||
'futures = marrow.mailer.manager.futures:FuturesManager', | ||
'dynamic = marrow.mailer.manager.dynamic:DynamicManager', | ||
'transactional = marrow.mailer.manager.transactional:TransactionalDynamicManager' | ||
], | ||
'marrow.mailer.transport': [ | ||
'amazon = marrow.mailer.transport.ses:AmazonTransport', | ||
'mock = marrow.mailer.transport.mock:MockTransport', | ||
'smtp = marrow.mailer.transport.smtp:SMTPTransport', | ||
'mbox = marrow.mailer.transport.mbox:MailboxTransport', | ||
'mailbox = marrow.mailer.transport.mbox:MailboxTransport', | ||
'maildir = marrow.mailer.transport.maildir:MaildirTransport', | ||
'sendmail = marrow.mailer.transport.sendmail:SendmailTransport', | ||
'imap = marrow.mailer.transport.imap:IMAPTransport', | ||
'appengine = marrow.mailer.transport.gae:AppEngineTransport', | ||
'logging = marrow.mailer.transport.log:LoggingTransport', | ||
'sms = marrow.mailer.transport.sms:SMSTransport', | ||
] | ||
} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters