-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
49 lines (45 loc) · 1.35 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
"""
Common utils for Digital Marketplace apps.
"""
import re
import ast
from setuptools import setup, find_packages
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('dmutils/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
setup(
name='digitalmarketplace-utils',
version=version,
url='https://github.com/alphagov/digitalmarketplace-utils',
license='MIT',
author='GDS Developers',
description='Common utils for Digital Marketplace apps.',
long_description=__doc__,
packages=find_packages(),
package_data={'dmutils': ['py.typed']},
include_package_data=True,
install_requires=[
'Flask-WTF>=0.14.2',
'Flask>=1.0,<2.1',
'Flask-gzip>=0.2',
'Flask-Login>=0.2.11',
'Flask-Session>=0.3.2',
'boto3<2,>=1.7.83',
'contextlib2>=0.4.0',
'cryptography>=3.2',
'gds-metrics>=0.2.0,<1',
'govuk-country-register>=0.3.0',
'mailchimp3==3.0.17',
'requests>=2.22.0,<3',
'redis>=3.5.2',
'fleep<1.1,>=1.0.1',
'notifications-python-client>=5.7.1,<9.0.0',
'odfpy>=1.3.6',
'python-json-logger>=0.1.11,<3.0.0',
'pytz',
'unicodecsv>=0.14.1',
'workdays>=1.4',
],
python_requires="~=3.8",
)