-
Notifications
You must be signed in to change notification settings - Fork 58
/
setup.py
116 lines (108 loc) · 3.71 KB
/
setup.py
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
##############################################################################
#
# Copyright (c) 2008-2012 Agendaless Consulting and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the BSD-like license at
# http://www.repoze.org/LICENSE.txt. A copy of the license should accompany
# this distribution. THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL
# EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO,
# THE IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND
# FITNESS FOR A PARTICULAR PURPOSE
#
##############################################################################
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
except IOError:
README = CHANGES = ''
install_requires = [
'pyramid>=1.5dev,<2.0dev', # route_name argument to resource_url
'ZODB',
'hypatia>=0.2', # query objects have intersection/union methods
'venusian>=1.0a3', # pyramid wants this too (prefer_finals...)
'deform>=2.0a2', # asset spec in ZPTRendererFactory
'colander>=1.0a1', # subclassable schemanodes
'mock',
'pyramid_zodbconn>=0.6', # connection opened/closed events
'pyramid_chameleon',
'pyramid_mailer',
'bcrypt',
'python-magic',
'PyYAML',
'zope.copy',
'zope.component', # implictly depended upon by zope.copy
'zope.deprecation',
'statsd',
'walkabout',
'pytz',
'unidecode',
]
docs_extras = [
'Sphinx >= 1.3.5',
'repoze.sphinx.autointerface',
]
testing_extras = [
'nose',
'coverage',
'tox',
]
i18n_extras = [
'Babel',
'transifex-client',
'lingua < 2.0',
]
setup(name='substanced',
version='1.0a1',
description='An application server built using Pyramid',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP :: WSGI",
"License :: Repoze Public License",
],
keywords='wsgi pylons pyramid zodb catalog zope',
author="Chris McDonough",
author_email="[email protected]",
url="http://www.substanced.net/",
license="BSD-derived (http://www.repoze.org/LICENSE.txt)",
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
tests_require=install_requires,
test_suite="substanced",
message_extractors={
'substanced': [
('**.py', 'python', None), # babel extractor supports plurals
('**.pt', 'lingua_xml', None),
],
},
entry_points="""
[console_scripts]
sd_evolve = substanced.scripts.evolve:main
sd_reindex = substanced.scripts.reindex:main
sd_drain_indexing = substanced.scripts.drain_indexing:main
sd_dump = substanced.scripts.dump:main
sd_adduser = substanced.scripts.add_user:main
[pyramid.scaffold]
substanced=substanced.scaffolds:SubstanceDProjectTemplate
""",
extras_require={
'testing': testing_extras,
'docs': docs_extras,
'i18n': i18n_extras,
},
)