1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
Description: Change build backend
Change build backend to setuptools instead of uvbuild.
Author: Manuel Guerra <ar.manuelguerra@gmail.com>
Forwarded: not-needed
Last-Update: 2026-01-23
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -9,7 +9,8 @@ license = "MIT"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
- "License :: OSI Approved :: MIT License",
+# The line above causes building with setuptools to fail with the following error:
+# setuptools.errors.InvalidConfigError: License classifiers have been superseded by license expressions... Please remove: License :: OSI Approved :: MIT License
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
@@ -37,15 +38,8 @@ dev = [
]
[build-system]
-requires = ["uv_build>=0.8.13,<0.9.0"]
-build-backend = "uv_build"
-
-[tool.uv.build-backend]
-source-include = [
- "CHANGELOG.rst",
- "LICENSE",
- "README.rst",
-]
+requires = ["setuptools>=78.1.1"]
+build-backend = "setuptools.build_meta"
[tool.isort]
profile = "black"
|