-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
46 lines (41 loc) · 1.27 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
"""
Python API client for GOV.UK Notify
"""
import ast
import re
from setuptools import find_packages, setup
_version_re = re.compile(r"__version__\s+=\s+(.*)")
with open("notifications_utils/version.py", "rb") as f:
version = str(ast.literal_eval(_version_re.search(f.read().decode("utf-8")).group(1)))
setup(
name="notifications-utils",
version=version,
url="https://github.com/alphagov/notifications-utils",
license="MIT",
author="Government Digital Service",
description="Shared python code for GOV.UK Notify.",
long_description=__doc__,
packages=find_packages(exclude=("tests",)),
include_package_data=True,
install_requires=[
"cachetools>=5.3.3",
"mistune<2.0.0", # v2 is totally incompatible with unclear benefit
"requests>=2.32.0",
"python-json-logger>=2.0.7",
"Flask>=3.0.0",
"gunicorn[eventlet]>=20.1.0",
"ordered-set>=4.1.0",
"Jinja2>=3.1.4",
"statsd>=4.0.1",
"Flask-Redis>=0.4.0",
"pyyaml>=6.0.1",
"phonenumbers>=8.13.48",
"pytz>=2024.1",
"smartypants>=2.0.1",
"pypdf>=3.13.0",
"itsdangerous>=2.1.2",
"govuk-bank-holidays>=0.14",
"boto3[crt]>=1.34.100",
"segno>=1.5.2,<2.0.0",
],
)