forked from codemation/easyauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·65 lines (63 loc) · 2.09 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
import setuptools
BASE_REQUIREMENTS = [
"makefun==1.9.5",
"PyJWT==2.0.0",
"python-jwt==3.3.0",
"fastapi>=0.65.2",
"uvicorn",
"python-multipart==0.0.5",
"easyadmin==0.169",
"easyrpc==0.245",
]
SERVER_REQUIREMENTS = [
"pydbantic>=0.0.14",
"cryptography==35.0.0",
"bcrypt==3.2.0",
"uvloop",
"easyschedule==0.107",
"example==0.1.0",
"httptools==0.3.0",
"gunicorn==20.1.0",
"fastapi-mail==0.3.7",
"email-validator==1.1.3",
"google-api-python-client==2.31.0",
]
CLIENT_REQUIREMENTS = []
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="easy-auth",
version="NEXTVERSION",
packages=setuptools.find_packages(include=["easyauth"], exclude=["build"]),
author="Joshua Jamison",
author_email="[email protected]",
description="Create a centralized Authentication and Authorization token server. Easily secure FastAPI endpoints based on Users, Groups, Roles or Permissions with very little database usage.",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
project_urls={
"Documentation": "https://easyauth.readthedocs.io/en/latest/",
"Source Code": "https://github.com/codemation/easyauth",
"Bug Tracker": "https://github.com/codemation/easyauth/issues",
},
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Natural Language :: English",
"Framework :: FastAPI",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Internet :: WWW/HTTP :: Session",
],
python_requires=">=3.7",
install_requires=BASE_REQUIREMENTS,
extras_require={
"all": SERVER_REQUIREMENTS,
"server": SERVER_REQUIREMENTS,
"client": CLIENT_REQUIREMENTS,
},
)