diff --git a/pyproject.toml b/pyproject.toml index 19a0a7c9..0ae48109 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,11 +15,11 @@ description = "CrateDB Python Client" authors = [{ name = "Crate.io", email = "office@crate.io" }] requires-python = ">=3.10" readme = "README.rst" -license = { file = "LICENSE"} +license = "Apache-2.0" +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", diff --git a/setup.py b/setup.py index 8feb4be4..6ccde7b3 100644 --- a/setup.py +++ b/setup.py @@ -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": [ @@ -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",