-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
64 lines (60 loc) · 1.62 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
import setuptools
with open("README.md", "r") as f:
long_description = f.read()
postgres_requires = ["psycopg2"]
requirements = [
"alembic",
"aiofiles",
"cryptography",
"fastapi",
"pydantic>=2.3",
"fastapi-versioning",
"google-auth",
"requests",
"h2",
"itsdangerous",
"jinja2",
"python-multipart",
"httpx",
"PyJWT",
"ldap3",
"SQLAlchemy<1.4",
"uvicorn[standard]",
"gunicorn",
"sentry-sdk",
"typer",
]
tests_requires = [
"packaging",
"pytest",
"pytest-cov",
"pytest-asyncio",
"pytest-mock",
"pytest-factoryboy",
"respx",
"Faker",
]
setuptools.setup(
name="ess-notify",
description="ESS notification server",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://gitlab.esss.lu.se/ics-software/ess-notify-server",
license="BSD-2 license",
setup_requires=["setuptools_scm"],
install_requires=requirements,
packages=setuptools.find_packages(exclude=["tests", "tests.*"]),
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
entry_points={"console_scripts": ["notify-server=app.command:cli"]},
extras_require={"postgres": postgres_requires, "tests": tests_requires},
python_requires=">=3.9",
)