forked from onaio/onadata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
124 lines (118 loc) · 3.42 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
"""
Setup file for onadata
Onadata is a Django application that provides APIs for data collection and
aggregation.
It provides:
- ODK aggregate server API
- ODK briefcase API
- REST APIs to interact with data that is used by ona.io
See:
https://github.com/onaio/onadata
https://ona.io
https://opendatakit.org
"""
from setuptools import setup, find_packages
import onadata
setup(
name="onadata",
version=onadata.__version__,
description="Collect Analyze and Share Data!",
author="Ona Systems Inc",
author_email="[email protected]",
license="Copyright (c) 2014 Ona Systems Inc All rights reserved.",
project_urls={
'Source': 'https://github.com/onaio/onadata',
},
packages=find_packages(exclude=['docs', 'tests']),
install_requires=[
"Django>=1.11,<2",
"django-guardian",
"django-registration-redux",
"django-templated-email",
"django-reversion",
"django-filter",
# generic relation
"django-query-builder",
"celery",
"django-celery",
# cors
"django-cors-headers",
"django-debug-toolbar",
# digest authentication
"python-digest",
# oauth2 support
"django-oauth-toolkit",
"oauth2client",
"jsonpickle",
# jwt
"PyJWT",
# captcha
"recaptcha-client",
# API support
"djangorestframework",
"djangorestframework-csv",
"djangorestframework-gis",
"djangorestframework-jsonapi",
"djangorestframework-jsonp",
"djangorestframework-xml",
# geojson
"geojson",
# tagging
"django-taggit",
# database
"psycopg2>2.7.1",
"pymongo",
# sms support
"dict2xml",
"lxml",
# pyxform
"pyxform",
# spss
"savreaderwriter",
# tests
"mock",
"httmock",
# JSON data type support, keeping it around for previous migration
"jsonfield<1.0",
# memcached support
"pylibmc",
"python-memcached",
# docs
"sphinx",
"Markdown",
# others
"unicodecsv",
"xlrd",
"xlwt",
"openpyxl",
"dpath",
"elaphe3",
"httplib2",
"modilabs-python-utils",
"numpy",
"Pillow",
"python-dateutil",
"pytz",
"requests",
"simplejson",
"google-api-python-client",
"uwsgi",
"flake8",
"raven",
"django-activity-stream",
"paho-mqtt",
],
dependency_links=[
'https://github.com/bfirsh/django-ordered-model/tarball/master#egg=django-ordered-model', # noqa pylint: disable=line-too-long
'https://github.com/onaio/django-multidb-router/tarball/django-1.11#egg=django-multidb-router', # noqa pylint: disable=line-too-long
'https://github.com/onaio/django-digest/tarball/django-1.9-fixes#egg=django-digest', # noqa pylint: disable=line-too-long
'https://github.com/onaio/floip-py/tarball/master#egg=floip',
'https://github.com/onaio/python-json2xlsclient/tarball/master#egg=python-json2xlsclient', # noqa pylint: disable=line-too-long
'https://github.com/jbalogh/django-nose/tarball/master#egg=django-nose', # noqa pylint: disable=line-too-long
],
extras_require={
':python_version=="2.7"': [
'functools32>=3.2.3-2'
]
}
)