Skip to content

Commit c268dbd

Browse files
use PEP 621 package metadata (#83)
1 parent 5acb0ed commit c268dbd

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

pyproject.toml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
requires = ["flit_core"]
33
build-backend = "flit_core.buildapi"
44

5-
[tool.flit.metadata]
6-
module = "asyncstdlib"
7-
author = "Max Fischer"
8-
author-email = "[email protected]"
9-
home-page = "https://github.com/maxfischer2781/asyncstdlib"
10-
description-file = "README.rst"
11-
keywords = "async enumerate itertools builtins functools contextlib"
5+
[project]
6+
dynamic = ["version", "description"]
7+
name = "asyncstdlib"
8+
authors = [
9+
{name = "Max Fischer", email = "maxfischer2781@gmail.com"},
10+
]
11+
readme = "README.rst"
1212
classifiers = [
1313
"Development Status :: 5 - Production/Stable",
1414
"Framework :: AsyncIO",
@@ -21,10 +21,12 @@ classifiers = [
2121
"Programming Language :: Python :: 3.9",
2222
"Programming Language :: Python :: 3.10",
2323
]
24+
license = {"file" = "LICENSE"}
25+
keywords = ["async", "enumerate", "itertools", "builtins", "functools", "contextlib"]
2426
requires-python = "~=3.6"
25-
requires = ["typing_extensions; python_version<'3.8'"]
27+
dependencies = ["typing_extensions; python_version<'3.8'"]
2628

27-
[tool.flit.metadata.requires-extra]
29+
[project.optional-dependencies]
2830
test = [
2931
"pytest",
3032
"flake8",
@@ -37,8 +39,9 @@ test = [
3739
]
3840
doc = ["sphinx", "sphinxcontrib-trio"]
3941

40-
[tool.flit.metadata.urls]
42+
[project.urls]
4143
Documentation = "https://asyncstdlib.readthedocs.io/en/latest/"
44+
Source = "https://github.com/maxfischer2781/asyncstdlib"
4245

4346
[tool.mypy]
4447
files = ["asyncstdlib/*.py"]

0 commit comments

Comments
 (0)