Skip to content

Commit fe7dd6d

Browse files
authored
Update project metadata to use SPDX license expression (#881)
1 parent 1d3a0a1 commit fe7dd6d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Changelog
44
*unreleased*
55
~~~~~~~~~~~~
66

7-
No unreleased changes.
7+
* Change project license metadata to use an SPDX license expression.
8+
89

910
25.0 - 2025-04-19
1011
~~~~~~~~~~~~~~~~~

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[build-system]
2-
requires = ["flit_core >=3.3"]
2+
requires = ["flit_core >=3.12"]
33
build-backend = "flit_core.buildapi"
44

55

66
[project]
77
name = "packaging"
88
description = "Core utilities for Python packages"
99
dynamic = ["version"]
10+
license = "Apache-2.0 OR BSD-2-Clause"
11+
license-files = ["LICENSE*"]
1012
readme = "README.rst"
1113
requires-python = ">=3.8"
1214
authors = [{name = "Donald Stufft", email = "[email protected]"}]
1315
classifiers = [
1416
"Development Status :: 5 - Production/Stable",
1517
"Intended Audience :: Developers",
16-
"License :: OSI Approved :: Apache Software License",
17-
"License :: OSI Approved :: BSD License",
1818
"Programming Language :: Python",
1919
"Programming Language :: Python :: 3",
2020
"Programming Language :: Python :: 3 :: Only",
@@ -36,7 +36,7 @@ Source = "https://github.com/pypa/packaging"
3636

3737

3838
[tool.flit.sdist]
39-
include = ["LICENSE*", "tests/", "docs/", "CHANGELOG.rst"]
39+
include = ["tests/", "docs/", "CHANGELOG.rst"]
4040
exclude = ["docs/_build", "tests/manylinux/build-hello-world.sh", "tests/musllinux/build.sh", "tests/hello-world.c", "tests/__pycache__", "build/__pycache__"]
4141

4242

0 commit comments

Comments
 (0)