-
-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move configuration from setup.cfg to pyproject.toml
- Loading branch information
Showing
3 changed files
with
51 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[flake8] | ||
exclude = | ||
tests/* | ||
max-line-length = 100 | ||
max-complexity = 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,49 @@ | ||
[project] | ||
name = "Authlib" | ||
description = "The ultimate Python library in building OAuth and OpenID Connect servers and clients." | ||
authors = [{name = "Hsiaoming Yang", email="me@lepture.com"}] | ||
dependencies = [ | ||
"cryptography", | ||
] | ||
license = {text = "BSD-3-Clause"} | ||
requires-python = ">=3.8" | ||
dynamic = ["version"] | ||
readme = "README.rst" | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Console", | ||
"Environment :: Web Environment", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Topic :: Security", | ||
"Topic :: Security :: Cryptography", | ||
"Topic :: Internet :: WWW/HTTP :: Dynamic Content", | ||
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application", | ||
] | ||
|
||
[project.urls] | ||
Documentation = "https://docs.authlib.org/" | ||
Purchase = "https://authlib.org/plans" | ||
Issues = "https://github.com/lepture/authlib/issues" | ||
Source = "https://github.com/lepture/authlib" | ||
Donate = "https://github.com/sponsors/lepture" | ||
Blog = "https://blog.authlib.org/" | ||
|
||
[build-system] | ||
requires = ["setuptools", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "authlib.__version__"} | ||
|
||
[tool.setuptools.packages.find] | ||
where = ["."] | ||
include = ["authlib", "authlib.*"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,10 @@ | ||
[bdist_wheel] | ||
universal = 1 | ||
|
||
[metadata] | ||
name = Authlib | ||
version = attr: authlib.__version__ | ||
author = Hsiaoming Yang | ||
url = https://authlib.org/ | ||
author_email = me@lepture.com | ||
license = BSD 3-Clause License | ||
license_file = LICENSE | ||
description = The ultimate Python library in building OAuth and OpenID Connect servers and clients. | ||
long_description = file: README.rst | ||
long_description_content_type = text/x-rst | ||
platforms = any | ||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
Environment :: Console | ||
Environment :: Web Environment | ||
Framework :: Flask | ||
Framework :: Django | ||
Intended Audience :: Developers | ||
License :: OSI Approved :: BSD License | ||
Operating System :: OS Independent | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3.10 | ||
Programming Language :: Python :: 3.11 | ||
Programming Language :: Python :: 3.12 | ||
Topic :: Internet :: WWW/HTTP :: Dynamic Content | ||
Topic :: Internet :: WWW/HTTP :: WSGI :: Application | ||
|
||
project_urls = | ||
Documentation = https://docs.authlib.org/ | ||
Commercial License = https://authlib.org/plans | ||
Bug Tracker = https://github.com/lepture/authlib/issues | ||
Source Code = https://github.com/lepture/authlib | ||
Donate = https://github.com/sponsors/lepture | ||
Blog = https://blog.authlib.org/ | ||
|
||
[options] | ||
packages = find: | ||
zip_safe = False | ||
include_package_data = True | ||
install_requires = | ||
cryptography>=3.2 | ||
|
||
[options.packages.find] | ||
include= | ||
authlib | ||
authlib.* | ||
|
||
[check-manifest] | ||
ignore = | ||
tox.ini | ||
|
||
[flake8] | ||
exclude = | ||
tests/* | ||
max-line-length = 100 | ||
max-complexity = 10 | ||
|
||
[tool:pytest] | ||
python_files = test*.py | ||
norecursedirs = authlib build dist docs htmlcov |