Skip to content

Commit ab64be8

Browse files
committed
Migrate to new-style (PEP 621) metadata
1 parent 324b6cf commit ab64be8

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

pyproject.toml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
[build-system]
2-
requires = ["flit_core >=2,<4"]
2+
requires = ["flit_core >=3.2,<4"]
33
build-backend = "flit_core.buildapi"
44

5-
[tool.flit.metadata]
6-
module = "audioread"
7-
author = "Adrian Sampson"
8-
author-email = "[email protected]"
9-
home-page = "https://github.com/beetbox/audioread"
10-
description-file = "README.rst"
5+
[project]
6+
name = "audioread"
7+
authors = [
8+
{name = "Adrian Sampson", email = "[email protected]"}
9+
]
10+
readme = "README.rst"
1111
requires-python = ">=3.6"
12+
dynamic = ["version", "description"]
13+
urls.Home = "https://github.com/beetbox/audioread"
1214
classifiers = [
1315
'Topic :: Multimedia :: Sound/Audio :: Conversion',
1416
'Intended Audience :: Developers',
@@ -20,7 +22,7 @@ classifiers = [
2022
'Programming Language :: Python :: 3.10',
2123
]
2224

23-
[tool.flit.metadata.requires-extra]
25+
[project.optional-dependencies]
2426
test = [
2527
"tox"
2628
]

0 commit comments

Comments
 (0)