This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
66 lines (62 loc) · 2.3 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
66
import os
from setuptools import setup, find_packages
this_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_dir, "README.md"), "r") as f:
long_description = f.read()
setup(
name="layabauth",
version=open("layabauth/version.py").readlines()[-1].split()[-1].strip("\"'"),
author="Colin Bounouar",
author_email="colin.bounouar.dev@gmail.com",
maintainer="Colin Bounouar",
maintainer_email="colin.bounouar.dev@gmail.com",
url="https://colin-b.github.io/layabauth/",
description="Handle OAuth2 authentication for REST APIs",
long_description=long_description,
long_description_content_type="text/markdown",
download_url="https://pypi.org/project/layabauth/",
license="MIT",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Build Tools",
],
keywords=["flask", "starlette", "auth"],
packages=find_packages(exclude=["tests*"]),
install_requires=[
# Used to request JWKs (keys)
"httpx==0.24.*",
# Used to manage authentication
"python-jose==3.*",
],
extras_require={
"testing": [
# Used to test flask application
"flask_restx==1.1.*",
"pytest-flask==1.*",
# Used to test starlette authentication
"starlette==0.17.*",
"requests==2.*",
# Used to mock requests sent to check keys
"pytest-httpx==0.22.*",
# Used to check coverage
"pytest-cov==3.*",
]
},
python_requires=">=3.7",
project_urls={
"GitHub": "https://github.com/Colin-b/layabauth",
"Changelog": "https://github.com/Colin-b/layabauth/blob/master/CHANGELOG.md",
"Issues": "https://github.com/Colin-b/layabauth/issues",
},
platforms=["Windows", "Linux"],
)