From a82e06973839a0cea960138598004941cbac71cd Mon Sep 17 00:00:00 2001 From: Benson Muite Date: Wed, 8 Oct 2025 18:18:06 +0300 Subject: [PATCH] Use PEP639 license metadata formatting --- setup.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 24f68c0a..143b71a5 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,10 @@ def get_long_description(): long_description_content_type="text/markdown", author="Simon Willison", version=VERSION, - license="Apache License, Version 2.0", + license="Apache-2.0", + license_files=[ + "LICENSE", + ], packages=find_packages(exclude=["tests", "tests.*"]), package_data={"sqlite_utils": ["py.typed"]}, install_requires=[ @@ -70,7 +73,6 @@ def get_long_description(): "Intended Audience :: Science/Research", "Intended Audience :: End Users/Desktop", "Topic :: Database", - "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12",