From 1587feca6f5accb1d9f8a646c1bc98b6192f99dd 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 24f68c0..143b71a 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,10 @@ setup( 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 @@ setup( "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",