Skip to content

Commit 9608d89

Browse files
authored
Use PEP 621 metadata to fix building with flit-core >= 4 (#598)
Fixes #597 Signed-off-by: Michał Górny <mgorny@gentoo.org>
1 parent f5199fe commit 9608d89

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

‎pyproject.toml‎

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

5-
[tool.flit.metadata]
6-
module = "cloudpickle"
7-
author = "The cloudpickle developer team"
8-
author-email='cloudpipe@googlegroups.com'
9-
home-page = "https://github.com/cloudpipe/cloudpickle"
10-
description-file = "README.md"
5+
[project]
6+
name = "cloudpickle"
7+
authors = [
8+
{ name = "The cloudpickle developer team", email = "cloudpipe@googlegroups.com" },
9+
]
10+
readme = "README.md"
1111
requires-python = ">=3.8"
1212
license = "BSD-3-Clause"
13+
dynamic = ["version", "description"]
1314
classifiers = [
1415
'Development Status :: 5 - Production/Stable',
1516
'Intended Audience :: Developers',
16-
'License :: OSI Approved :: BSD License',
1717
'Operating System :: POSIX',
1818
'Operating System :: Microsoft :: Windows',
1919
'Operating System :: MacOS :: MacOS X',
@@ -31,6 +31,9 @@ classifiers = [
3131
'Topic :: System :: Distributed Computing',
3232
]
3333

34+
[project.urls]
35+
Homepage = "https://github.com/cloudpipe/cloudpickle"
36+
3437
[tool.black]
3538
line-length = 88
3639
target_version = ['py38', 'py39', 'py310', 'py311', 'py312', 'py313']

0 commit comments

Comments
 (0)