1# Copyright (c) 2021 Ian C. Good
2#
3# Permission is hereby granted, free of charge, to any person obtaining a copy
4# of this software and associated documentation files (the "Software"), to deal
5# in the Software without restriction, including without limitation the rights
6# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7# copies of the Software, and to permit persons to whom the Software is
8# furnished to do so, subject to the following conditions:
9#
10# The above copyright notice and this permission notice shall be included in
11# all copies or substantial portions of the Software.
12#
13# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19# THE SOFTWARE.
20#
21
22from setuptools import setup, find_packages
23
24with open('README.md') as f:
25    readme = f.read()
26
27with open('LICENSE.md') as f:
28    license = f.read()
29
30setup(name='python-slimta',
31      version='4.2.1',
32      author='Ian Good',
33      author_email='ian@icgood.net',
34      description='Lightweight, asynchronous SMTP libraries.',
35      long_description=readme + license,
36      long_description_content_type='text/markdown',
37      license='MIT',
38      url='http://slimta.org/',
39      include_package_data=True,
40      packages=find_packages(),
41      namespace_packages=['slimta'],
42      install_requires=['gevent >= 1.1rc',
43                        'pysasl >= 0.4.0',
44                        'pycares < 3.0.0; python_version < "3.0"',
45                        'pycares >= 1; python_version >= "3.0"'],
46      extras_require={'spf': ['pyspf', 'py3dns; python_version >= "3.0"',
47                              'pydns; python_version < "3.0"',
48                              'ipaddr; python_version < "3.0"'],
49                      'redis': ['redis'],
50                      'aws': ['boto'],
51                      'disk': ['pyaio >= 0.4; platform_system == "Linux"']},
52      classifiers=['Development Status :: 3 - Alpha',
53                   'Topic :: Communications :: Email :: Mail Transport Agents',
54                   'Intended Audience :: Developers',
55                   'Intended Audience :: Information Technology',
56                   'License :: OSI Approved :: MIT License',
57                   'Programming Language :: Python',
58                   'Programming Language :: Python :: 2.7',
59                   'Programming Language :: Python :: 3.6',
60                   'Programming Language :: Python :: 3.7',
61                   'Programming Language :: Python :: 3.8',
62                   'Programming Language :: Python :: 3.9'])
63
64
65# vim:et:fdm=marker:sts=4:sw=4:ts=4
66