forked from Kotti/Kotti
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
134 lines (123 loc) · 3.68 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
import os
import sys
from setuptools import setup
from setuptools import find_packages
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
AUTHORS = open(os.path.join(here, 'AUTHORS.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
except IOError:
README = AUTHORS = CHANGES = ''
install_requires = [
'Babel',
'Chameleon>=2.7.4', # Fixes error when raising HTTPFound
'Pillow', # dependency of plone.scale
'alembic',
'colander>=0.9.3',
'deform>=0.9.6', # deform_bootstrap (needs fixing there)
'deform_bootstrap>=0.1', # checked_input widget
'docopt',
'formencode',
'html2text',
'js.angular',
'js.bootstrap>=2.1.5',
'js.deform>=0.9.5-4',
'js.deform_bootstrap>=0.2.4-1',
'js.fineuploader',
'js.html5shiv',
'js.jquery',
'js.jquery_form',
'js.jquery_tablednd',
'js.jquery_timepicker_addon',
'js.jqueryui>=1.8.24',
'js.jqueryui_tagit',
'kotti_tinymce>=0.4.1',
'lingua>=1.3',
'plone.scale', # needed for image resizing capabilities
'py_bcrypt',
'pyramid>=1.3', # needed for kotti_tinymce
'pyramid_beaker',
'pyramid_debugtoolbar',
'pyramid_deform>=0.2a3', # language and template path config includeme
'pyramid_mailer',
'pyramid_tm',
'pyramid_zcml',
'repoze.lru',
'repoze.workflow',
'sqlalchemy>=0.7.6',
'transaction>=1.1.0',
'unidecode',
'waitress',
'zope.deprecation',
'zope.sqlalchemy',
]
tests_require = [
'WebTest',
'mock',
'pyquery',
'pytest',
'pytest-cov',
'pytest-pep8!=1.0.3',
'pytest-xdist',
'wsgi_intercept',
'zope.testbrowser',
]
development_requires = [
'minify',
]
docs_require = [
'Sphinx',
'docutils',
'repoze.sphinx.autointerface',
]
if sys.version_info[:3] < (2, 7, 0):
install_requires.append('ordereddict')
setup(name='Kotti',
version='0.9.2dev',
description="A user-friendly, light-weight and extensible web content management system. Based on Pyramid and SQLAlchemy.",
long_description='\n\n'.join([README, AUTHORS, CHANGES]),
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Framework :: Pylons",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"License :: Repoze Public License",
],
author='Kotti developers',
author_email='[email protected]',
url='http://kotti.pylonsproject.org',
keywords='kotti web cms wcms pylons pyramid sqlalchemy bootstrap',
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=tests_require,
dependency_links=[
],
entry_points="""\
[paste.app_factory]
main = kotti:main
[fanstatic.libraries]
kotti = kotti.fanstatic:lib_kotti
[console_scripts]
kotti-migrate = kotti.migrate:kotti_migrate_command
kotti-reset-workflow = kotti.workflow:reset_workflow_command
[pytest11]
kotti = kotti.tests
""",
extras_require={
'testing': tests_require,
'development': development_requires,
'docs': docs_require,
},
message_extractors={'kotti': [
('**.py', 'lingua_python', None),
('**.zcml', 'lingua_xml', None),
('**.pt', 'lingua_xml', None),
]},
)