Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ description = "CrateDB Python Client"
authors = [{ name = "Crate.io", email = "[email protected]" }]
requires-python = ">=3.10"
readme = "README.rst"
license = { file = "LICENSE"}
license = "Apache-2.0"
license_files = ["LICENSE"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to https://packaging.python.org/en/latest/guides/licensing-examples-and-user-scenarios/ there is no need to explicitly define license_files or license_file?

Suggested change
license_files = ["LICENSE"]

classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Copy link
Member Author

@amotl amotl Dec 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think setup.py can be removed soon?

Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@ def read(path):
long_description=long_description,
long_description_content_type="text/x-rst",
platforms=["any"],
license="Apache License 2.0",
license="Apache-2.0",
license_files=["LICENSE"],
keywords="cratedb db api dbapi database sql http rdbms olap",
packages=find_namespace_packages("src"),
package_dir={"": "src"},
install_requires=[
"orjson<4",
"urllib3",
"verlib2",
"verlib2>=0.3",
],
extras_require={
"doc": [
Expand All @@ -82,7 +83,6 @@ def read(path):
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
Expand Down