Skip to content

Commit 7be6fe5

Browse files
committed
Chore: Update project metadata to use SPDX license identifier
... as suggested by warning message emitted by `python -m build`.
1 parent e1dfd2e commit 7be6fe5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ description = "CrateDB Python Client"
1515
authors = [{ name = "Crate.io", email = "office@crate.io" }]
1616
requires-python = ">=3.10"
1717
readme = "README.rst"
18-
license = { file = "LICENSE"}
18+
license = "Apache-2.0"
19+
license_files = ["LICENSE"]
1920
classifiers = [
2021
"Development Status :: 5 - Production/Stable",
2122
"Intended Audience :: Developers",
22-
"License :: OSI Approved :: Apache Software License",
2323
"Operating System :: OS Independent",
2424
"Programming Language :: Python",
2525
"Programming Language :: Python :: 3",

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ def read(path):
4949
long_description=long_description,
5050
long_description_content_type="text/x-rst",
5151
platforms=["any"],
52-
license="Apache License 2.0",
52+
license="Apache-2.0",
53+
license_files=["LICENSE"],
5354
keywords="cratedb db api dbapi database sql http rdbms olap",
5455
packages=find_namespace_packages("src"),
5556
package_dir={"": "src"},
@@ -82,7 +83,6 @@ def read(path):
8283
classifiers=[
8384
"Development Status :: 5 - Production/Stable",
8485
"Intended Audience :: Developers",
85-
"License :: OSI Approved :: Apache Software License",
8686
"Operating System :: OS Independent",
8787
"Programming Language :: Python",
8888
"Programming Language :: Python :: 3",

0 commit comments

Comments
 (0)