--- pyproject.toml.orig 2026-09-06 00:55:22 UTC +++ pyproject.toml @@ -1,15 +1,14 @@ requires = [ [build-system] requires = [ - "setuptools>=80", - "setuptools-scm[simple]>=9.2", + "setuptools>=63", + "setuptools-scm[toml]>=3.4", ] [project] name = "ujson" description = "Ultra fast JSON encoder and decoder for Python" readme = "README.md" -license = "BSD-3-Clause AND TCL" -license-files = [ "LICENSE.txt" ] +license = {text = "BSD-3-Clause AND TCL"} authors = [ { name = "Jonas Tarnstrom" }, ] @@ -36,7 +35,7 @@ urls.Source = "https://github.com/ultrajson/ultrajson" urls.Source = "https://github.com/ultrajson/ultrajson" [tool.setuptools] -packages = [ "ujson-stubs" ] +packages = {find = {exclude = ["tests", "tests.*", "scripts", "scripts.*", "src", "src.*"]}} [tool.isort] profile = "black"