forked from laws-africa/indigo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
105 lines (95 loc) · 3.16 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
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
with open(path.join(here, 'VERSION')) as f:
version = f.read().strip()
setup(
name='indigo',
version=version,
description='A Django framework for publishing legislation using Akoma Ntoso',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/laws-africa/indigo',
# Author details
author='Laws.Africa',
author_email='greg@laws.africa',
# See https://pypi.org/classifiers/
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Django :: 2.2',
'Intended Audience :: Legal Industry',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
],
packages=find_packages(exclude=['docs']),
include_package_data=True,
python_requires='~=3.6',
install_requires=[
'django>=2.2.12,<3',
'boto3>=1.7',
'cobalt>=3.1',
'django-ckeditor>=5.8',
'dj-database-url>=0.3.0',
'django-activity-stream>=0.7.0',
'django-allauth>=0.41.0',
'django-background-tasks>=1.2.0',
'django-compressor>=2.2',
'django-cors-headers>=3.1.0',
'django-countries-plus>=1.3.1',
'django-jsonfield>=1.0.1',
'django-jsonfield-compat>=0.4.4',
'django-filter>=2.2.0',
'django-fsm>=2.6.0',
'django-languages-plus>=1.0.0',
'django-pipeline>=1.6.11',
'django-recaptcha>=1.4.0,<2.0.0',
'django-reversion==3.0.1', # v3.0.2 introduces squashed migrations that break existing migrations
'django-sass-processor>=0.6',
'django-storages>=1.6.6',
'django-taggit-serializer>=0.1.5',
'django-taggit>=1.2.0',
'django-templated-email>=2.3.0',
'django-wkhtmltopdf>=2.0.3,<2.1',
'djangorestframework-xml>=1.3.0',
'djangorestframework>=3.11.0',
'EbookLib>=0.15',
'google-api-python-client>=1.7.9',
'iso8601>=0.1',
'jsonpatch>=1.23',
'libsass==0.14.2', # 0.14.3 upwards changes imports for .css
'lxml>=3.4.1',
'mammoth>=1.4.4',
'psycopg2==2.7.3.2', # 2.7.4 began using psycopg2-binary
'requests>=2',
'unicodecsv>=0.14.1',
'whitenoise<2,>=1.0.6',
'django-contrib-comments>=1.9.1',
'XlsxWriter>=1.2.6',
# for indigo_social
'pillow>=5.2.0',
'pinax-badges>=2.0.3',
],
extras_require={
'dev': [
'nose',
'flake8',
'django-nose>=1.4.4',
'mock>=1.3.0',
],
'test': [
'nose',
'flake8',
'django-nose>=1.4.4',
'mock>=1.3.0',
'coveralls',
'django-webtest>=1.9.4',
'dotmap>=1.3.8',
],
},
)