Skip to content

Commit 84992f3

Browse files
authored
Set license and license-files key in project metadata to follow PEP639 (#75)
* Set license and license-files key in project metadata to follow PEP639 Adhere to https://peps.python.org/pep-0639 to specify Apache-2.0 license in SPDX format. Works on setuptools>=77. * Bump actions/checkout to v4, actions/setup-python to v5 Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v3...v4) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v4...v5)
1 parent 141249f commit 84992f3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
[build-system]
2-
requires = ["setuptools", "versioneer[toml]"]
2+
requires = ["setuptools>=77", "versioneer[toml]"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "cupy-xarray"
77
description = "Interface for using cupy in xarray, providing convenience accessors."
88
authors = [{name = "cupy-xarray developers"}]
9-
license = {text = "Apache License"}
9+
license = "Apache-2.0"
10+
license-files = ["LICENSE"]
1011
readme = "README.md"
1112
requires-python = ">=3.10"
1213
classifiers = [

0 commit comments

Comments
 (0)