Skip to content

Commit ec6c7b6

Browse files
committed
build: use latest license spec
The .pkg set_env is needed to force use of the latest setuptools.
1 parent 43ba05a commit ec6c7b6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description = "Scriv changlog management tool"
66
authors = [
77
{name = "Ned Batchelder", email = "[email protected]"},
88
]
9-
license.text = "Apache-2.0"
9+
license = "Apache-2.0"
1010
classifiers = [
1111
"Development Status :: 5 - Production/Stable",
1212
"Intended Audience :: Developers",

tox.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ commands =
3030
no_extras: python -m pip uninstall -q -y tomli
3131
coverage run -p -m pytest -Wd -c tox.ini {posargs}
3232

33+
[testenv:.pkg]
34+
# Force wheels to be built with the latest pip, wheel, and setuptools.
35+
set_env =
36+
VIRTUALENV_DOWNLOAD=1
37+
3338
[testenv:deps]
3439
allowlist_externals =
3540
pandoc

0 commit comments

Comments
 (0)