Skip to content

Commit 4419720

Browse files
committed
Drop legacy build system in favour of pyproject.toml
1 parent 347c1a6 commit 4419720

File tree

2 files changed

+57
-60
lines changed

2 files changed

+57
-60
lines changed

pyproject.toml

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
[build-system]
2+
requires = ["setuptools", "setuptools_scm"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "httpx_auth"
7+
description = "Authentication for HTTPX"
8+
readme = "README.md"
9+
requires-python = ">=3.8"
10+
license = {file = "LICENSE"}
11+
authors = [
12+
{name = "Colin Bounouar", email = "[email protected]" }
13+
]
14+
maintainers = [
15+
{name = "Colin Bounouar", email = "[email protected]" }
16+
]
17+
keywords = ["authentication", "oauth2", "aws", "okta", "aad"]
18+
classifiers=[
19+
"Development Status :: 5 - Production/Stable",
20+
"Intended Audience :: Developers",
21+
"License :: OSI Approved :: MIT License",
22+
"Natural Language :: English",
23+
"Typing :: Typed",
24+
"Programming Language :: Python",
25+
"Programming Language :: Python :: 3",
26+
"Programming Language :: Python :: 3.8",
27+
"Programming Language :: Python :: 3.9",
28+
"Programming Language :: Python :: 3.10",
29+
"Programming Language :: Python :: 3.11",
30+
"Topic :: Software Development :: Build Tools",
31+
]
32+
dependencies = [
33+
"httpx==0.24.*",
34+
]
35+
dynamic = ["version"]
36+
37+
[project.urls]
38+
documentation = "https://colin-b.github.io/httpx_auth/"
39+
repository = "https://github.com/Colin-b/httpx_auth"
40+
changelog = "https://github.com/Colin-b/httpx_auth/blob/master/CHANGELOG.md"
41+
issues = "https://github.com/Colin-b/httpx_auth/issues"
42+
43+
[project.optional-dependencies]
44+
testing = [
45+
# Used to generate test tokens
46+
"pyjwt==2.*",
47+
# Used to mock httpx
48+
"pytest_httpx==0.22.*",
49+
# Used to check coverage
50+
"pytest-cov==4.*",
51+
]
52+
53+
[tool.setuptools.packages.find]
54+
exclude = ["tests*"]
55+
56+
[tool.setuptools.dynamic]
57+
version = {attr = "httpx_auth.version.__version__"}

setup.py

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)