diff options
author | drebs <drebs@leap.se> | 2013-05-06 19:31:56 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2013-05-11 17:01:04 -0300 |
commit | a7584ae58e7d08498199d8a556c928f7b8d6b20e (patch) | |
tree | 9ee59b3e6cbc7b1c7d3978cc2c053a9767c07500 /setup.py | |
parent | 8fb5895c46282aa913d2cf3c31f3c526174b3f3b (diff) |
Adapt smtp-relay to use leap.common.keymanager
* Add docstrings to smtp-relay classes.
* Setup test suite.
* Add setuptools-trial as dependency for tests.
* Move smtp-relay tests to default test directory.
* Add tests for smtp-relay.
* Send of unencrypted mail depending on 'encrypted_only' param.
* Malformed email address.
* Add a helper function for smtp-relay.
* Assert params for initializing SMTPFactory.
* Use mail.util.parseaddr to parse email address.
* Use email.message.Message to represent an email message in smtp-relay.
* Make requirements effective and fix leap.common version in setup.py.
* Add/remove dependencies in setup.py.
* Fix Soledad instantiation in tests.
* Fix sender address in smtp-relay.
* Fix some comments regarding twisted's SSL and SMTP.
* Remove authentication from smtp-relay when sending.
This closes #2446.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -21,10 +21,15 @@ from setuptools import setup, find_packages requirements = [ "leap.soledad", - "leap.common", + "leap.common>=0.2.3-dev", "twisted", ] +tests_requirements = [ + 'setuptools-trial', + 'mock', +] + # XXX add classifiers, docs setup( @@ -40,7 +45,8 @@ setup( ), namespace_packages=["leap"], package_dir={'': 'src'}, - packages=find_packages('src'), - #test_suite='leap.mail.tests', - #install_requires=requirements, + packages=find_packages('src', exclude=['leap.mail.tests']), + test_suite='leap.mail.tests', + install_requires=requirements, + tests_require=tests_requirements, ) |