From f3163b525fb6b20f87debd594416e0f8ac2c498d Mon Sep 17 00:00:00 2001 From: Robsdedude Date: Thu, 5 Jun 2025 12:10:19 +0200 Subject: [PATCH] PEP 639 compliant licensing meta data https://peps.python.org/pep-0639/#deprecate-license-classifiers --- MANIFEST.in | 3 +-- pyproject.toml | 9 ++++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 16e4e11b..c83b5a6e 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,2 @@ -include NOTICE* src/**/py.typed -global-exclude *.class *.py[cod] *.so *.dll __pycache__ +recursive-include src py.typed prune test* diff --git a/pyproject.toml b/pyproject.toml index 4d881171..4e65017d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,11 @@ [project] name = "neo4j" description = "Neo4j Bolt driver for Python" -license = {text = "Apache License, Version 2.0"} +license = "Apache-2.0 AND Python-2.0" +license-files = [ + "LICENSE*.txt", + "NOTICE*.txt", +] readme = "README.rst" authors = [ {name = "Neo4j, Inc.", email = "drivers@neo4j.com"}, @@ -28,7 +32,6 @@ classifiers = [ "Development Status :: 5 - Production/Stable", "Framework :: AsyncIO", "Intended Audience :: Developers", - "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -61,7 +64,7 @@ pyarrow = ["pyarrow >= 1.0.0"] [build-system] requires = [ - "setuptools == 75.6.0", + "setuptools == 80.9.0", ] build-backend = "setuptools.build_meta"