forked from codemation/easyauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·42 lines (40 loc) · 1.5 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
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.13', 'cryptography==35.0.0',
'bcrypt==3.2.0', 'uvloop',
'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",
url="https://github.com/codemation/easyauth",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.7, <4',
install_requires=BASE_REQUIREMENTS,
extras_require={
'all': SERVER_REQUIREMENTS,
'server': SERVER_REQUIREMENTS,
'client': CLIENT_REQUIREMENTS
}
)