Skip to content

Commit 3f356eb

Browse files
committed
Configure the setup metadata and build-system
1 parent cae41be commit 3f356eb

File tree

3 files changed

+56
-0
lines changed

3 files changed

+56
-0
lines changed

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[build-system]
2+
requires = ["setuptools>=42.0", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[tool.pytest.ini_options]
6+
testpaths = ["tests"]
7+
filterwarnings = ["ignore::DeprecationWarning"]

setup.cfg

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
[metadata]
2+
name = fastapi-oauth2
3+
version = attr: fastapi_oauth2.__version__
4+
author = Artyom Vancyan
5+
author_email = [email protected]
6+
description = Easy to setup OAuth2 social authentication mechanism with support for several auth providers.
7+
long_description = file: README.md
8+
long_description_content_type = text/markdown
9+
project_urls =
10+
Documentation=https://github.com/pysnippet/fastapi-oauth2/
11+
Source Code=https://github.com/pysnippet/fastapi-oauth2/
12+
keywords =
13+
python
14+
auth
15+
login
16+
social
17+
oauth2
18+
fastapi
19+
authentication
20+
license = MIT
21+
license_files = LICENSE
22+
platforms = unix, linux, osx, win32
23+
classifiers =
24+
Operating System :: OS Independent
25+
Development Status :: 1 - Planning
26+
Framework :: FastAPI
27+
Programming Language :: Python
28+
Programming Language :: Python :: 3
29+
Programming Language :: Python :: 3.6
30+
Programming Language :: Python :: 3.7
31+
Programming Language :: Python :: 3.8
32+
Programming Language :: Python :: 3.9
33+
Programming Language :: Python :: 3.10
34+
License :: OSI Approved :: MIT License
35+
36+
[options]
37+
packages =
38+
fastapi_oauth2
39+
install_requires =
40+
fastapi>=0.85.2
41+
include_package_data = yes
42+
python_requires = >=3.6
43+
package_dir =
44+
=src
45+
zip_safe = no

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from setuptools import setup
2+
3+
if __name__ == "__main__":
4+
setup()

0 commit comments

Comments
 (0)