-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·101 lines (95 loc) · 2.83 KB
/
setup.py
File metadata and controls
executable file
·101 lines (95 loc) · 2.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
import codecs
from setuptools import setup
from setuptools import find_namespace_packages
entry_points = {
'console_scripts': [
'nti_mailer_qp_console = nti.mailer.queue:run_console',
'nti_mailer_qp_process = nti.mailer.queue:run_process',
'nti_qp = nti.mailer.queue:run_console' # backwards compatibility
],
}
TESTS_REQUIRE = [
'nti.testing',
'zope.testrunner',
'nti.app.pyramid-zope >= 0.0.3',
'pyramid_chameleon',
'pyramid_mako',
]
def _read(fname):
with codecs.open(fname, encoding='utf-8') as f:
return f.read()
setup(
name='nti.mailer',
version="1.0.1.dev0",
author='Josh Zuech',
author_email='open-source@nextthought.com',
description="Integrates pyramid_mailer and repoze.sendmail with Amazon SES.",
long_description=(
_read('README.rst')
+ '\n\n'
+ _read("CHANGES.rst")
),
license='Apache',
keywords='Base',
classifiers=[
'Framework :: Zope3',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
url="https://github.com/OpenNTI/nti.mailer",
zip_safe=True,
packages=find_namespace_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
install_requires=[
'gevent',
'setuptools',
'boto3',
'BTrees',
'itsdangerous',
'nti.schema',
'repoze.sendmail',
'premailer >= 3.7.0',
# The < 2.0 part is from nti.app.pyramid_zope, a test
# dependency. But older released versions on PyPI (< 0.0.3)
# do not specify this correctly.
#'pyramid < 2.0',
'pyramid_mailer',
'six',
'ZODB',
'zc.displayname',
'zope.annotation',
'zope.catalog',
'zope.component',
'zope.container',
'zope.dottedname',
'zope.i18n',
'zope.interface',
'zope.intid',
'zope.location',
'zope.schema',
'zope.security',
],
extras_require={
'test': TESTS_REQUIRE,
'docs': [
'Sphinx',
'repoze.sphinx.autointerface',
'sphinxcontrib-programoutput',
'sphinx_rtd_theme',
],
},
entry_points=entry_points,
python_requires=">=3.10",
)