This repository has been archived by the owner on Jul 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
/
setup.py
138 lines (134 loc) · 4.75 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
135
136
137
138
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from scripts.version import get_git_version
setup(
name='adhocracy',
version=get_git_version(),
description='Policy drafting and decision-making web platform',
author='Liquid Democracy e.V.',
author_email='[email protected]',
url='https://github.com/liqd/adhocracy',
license='GNU Affero General Public License v3',
classifiers=[
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Other Audience",
"Programming Language :: Python",
"Framework :: Pylons",
"Environment :: Web Environment",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: Software Development :: Libraries :: Python Modules"
],
long_description='\n'.join([open(f).read() for f in [
"README.rst",
"INSTALLATION.rst",
"CHANGES.txt",
"AUTHORS.txt",
]]),
install_requires=[
"adhocracy-Pylons>=1.0.1",
"Babel>=0.9",
"WebOb>=1.2.3",
"SQLAlchemy>=0.9.1",
"alembic",
"FormEncode>=1.2.5",
"repoze.who>=2.0",
"repoze.what==1.0.8", # 1.0.9 conflicts with repoze.who>=2.0
"repoze.who.plugins.sa==1.0rc2",
"repoze.what.plugins.sql==1.0.1",
"repoze.who-friendlyform==1.0.8",
"repoze.who-testutil==1.0",
"python-twitter>=0.6",
"oauth2", # undeclared requirement of python-twitter
"oauth>=1.0.1",
"rq",
"redis",
"ordereddict",
"beautifulsoup>=3.0.7",
"python-openid>=2.2.4",
"python-memcached>=1.45",
"sunburnt==0.6",
#"Pillow", # use the adhocracy buildout or install system packages
# (python-imaging) for this dependency
"Markdown>=2.3",
"lxml>=2.2.6",
"Mako>=0.7.3",
"MarkupSafe>=0.15",
"recaptcha-client>=1.0.6",
"fanstatic >=0.11.2",
"js.jquery >= 1.7.1,<=1.7.99",
"js.jquery_qtip >= 1.0.0,<= 1.0.99",
"js.socialshareprivacy >= 1.5",
"js.jquery_joyride",
"PasteScript>=1.6.3",
"setuptools_git >= 0.3",
"ipaddress>=1.0.3",
"pytz",
"requests",
"raven",
],
setup_requires=["setuptools>=0.6c6", # fix OS X 10.5.7
"PasteScript",
"Babel"],
packages=find_packages('src', exclude=['ez_setup']),
package_dir={'': 'src'},
include_package_data=True,
exclude_package_data={'': ['.gitignore'],
'images': ['*.xcf', '*.blend']},
test_suite='nose.collector',
extras_require={
'test': ['zope.testbrowser [wsgi]',
'repoze.tm2',
'mock >=0.8.0, <=0.8.99',
'pytest',
'pytest-cov',
'pytest-pep8',
'cssselect',
'decorator',
'pep8']
},
package_data={'adhocracy': ['i18n/*/LC_MESSAGES/*.mo'],
'': ['RELEASE-VERSION'],
},
message_extractors={'src/adhocracy': [
('**.py', 'python', None),
('templates/**.html', 'mako', {'input_encoding': 'utf-8'}),
('templates/**.txt', 'mako', {'input_encoding': 'utf-8'}),
('static/**', 'ignore', None)]},
zip_safe=False,
paster_plugins=['PasteScript', 'adhocracy_Pylons'],
entry_points={
'paste.app_factory': [
'main = adhocracy.config.middleware:make_app'
],
'paste.paster_command': [
'worker = adhocracy.lib.cli:Worker',
'timer = adhocracy.lib.cli:Timer',
'index = adhocracy.lib.cli:Index'
],
'paste.app_install': [
'main = pylons.util:PylonsInstaller'
],
'fanstatic.libraries': [
'stylesheets = adhocracy.static:stylesheets_library',
'autocomplete = adhocracy.static:autocomplete_library',
'placeholder = adhocracy.static:placeholder_library',
'jquerytools = adhocracy.static:jquerytools_library',
'knockout = adhocracy.static:knockout_library',
'moment = adhocracy.static:moment_library',
'misc = adhocracy.static:misc_library',
'adhocracy = adhocracy.static:adhocracy_library',
'bootstrap = adhocracy.static:bootstrap_library',
],
'nose.plugins': [
'pylons = pylons.test:PylonsPlugin',
]
}
)