Skip to content

Commit

Permalink
build(pyproject.toml): replace license with license-expression
Browse files Browse the repository at this point in the history
`license` is deprecated in favor of `license-expression` with
pyproject.toml `metadata-version` 2.4 and newer.

Ref:

- https://peps.python.org/pep-0639/#term-license-expression
- https://packaging.python.org/en/latest/specifications/core-metadata/#license-expression
  • Loading branch information
thewtex committed Nov 26, 2024
1 parent e61f0cf commit b5f09f1
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-compare-images-emscripten"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version", "description"]
classifiers = [
"License :: OSI Approved :: Apache Software License",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-compare-images-wasi"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version", "description"]
classifiers = [
"License :: OSI Approved :: Apache Software License",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-compare-images"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version"]
description = "Compare images with a tolerance for regression testing."
classifiers = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-compress-stringify-emscripten"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version", "description"]
classifiers = [
"License :: OSI Approved :: Apache Software License",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-compress-stringify-wasi"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version", "description"]
classifiers = [
"License :: OSI Approved :: Apache Software License",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-compress-stringify"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version"]
description = "Zstandard compression and decompression and base64 encoding and decoding in WebAssembly."
classifiers = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "test-accelerator"
license = "Apache-2.0"
license-expression = "Apache-2.0"
version = "0.0.1"

requires-python = ">=3.8"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "@bindgenPackageName@"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version"]
description = "@bindgenPackageDescription@"
classifiers = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-bindgen-interface-types-test-wasi"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version"]
description = "Exercise interface types for bindgen"
classifiers = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-bindgen-interface-types-test"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version"]
description = "Exercise interface types for bindgen"
classifiers = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-dicom-emscripten"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version", "description"]
classifiers = [
"License :: OSI Approved :: Apache Software License",
Expand Down
2 changes: 1 addition & 1 deletion packages/dicom/python/itkwasm-dicom-wasi/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-dicom-wasi"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version", "description"]
classifiers = [
"License :: OSI Approved :: Apache Software License",
Expand Down
2 changes: 1 addition & 1 deletion packages/dicom/python/itkwasm-dicom/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-dicom"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version"]
description = "Read files and images related to DICOM file format."
classifiers = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-downsample-cucim"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version"]
description = "Pipelines for downsampling images. cuCIM implementation."
classifiers = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-downsample-emscripten"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version"]
description = "Pipelines for downsampling images."
classifiers = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-downsample-wasi"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version"]
description = "Pipelines for downsampling images."
classifiers = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-downsample"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version"]
description = "Pipelines for downsampling images."
classifiers = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-image-io-emscripten"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version"]
description = "Input and output for scientific and medical image file formats."
classifiers = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-image-io-wasi"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version"]
description = "Input and output for scientific and medical image file formats."
classifiers = [
Expand Down
2 changes: 1 addition & 1 deletion packages/image-io/python/itkwasm-image-io/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-image-io"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version"]
description = "Input and output for scientific and medical image file formats."
classifiers = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-mesh-io-emscripten"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version"]
description = "Input and output for scientific and medical image file formats."
classifiers = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-mesh-io-wasi"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version"]
description = "Input and output for scientific and medical image file formats."
classifiers = [
Expand Down
2 changes: 1 addition & 1 deletion packages/mesh-io/python/itkwasm-mesh-io/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-mesh-io"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version"]
description = "Input and output for scientific and medical image file formats."
classifiers = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-transform-io-emscripten"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version"]
description = "Input and output for scientific and medical coordinate transform file formats."
classifiers = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-transform-io-wasi"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version"]
description = "Input and output for scientific and medical coordinate transform file formats."
classifiers = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "itkwasm-transform-io"
readme = "README.md"
license = "Apache-2.0"
license-expression = "Apache-2.0"
dynamic = ["version"]
description = "Input and output for scientific and medical coordinate transform file formats."
classifiers = [
Expand Down

0 comments on commit b5f09f1

Please sign in to comment.