Fedora contributions by:
Lumír Balhar <lbalhar@redhat.com>
Miro Hrončok <mhroncok@redhat.com>
Tomas Hrnciar <thrnciar@redhat.com>
Tomas Orsava <torsava@redhat.com>
45 lines
1.2 KiB
Diff
45 lines
1.2 KiB
Diff
From 3b38f9e81ed1f9f0a94657629f85352c596e3337 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= <thrnciar@redhat.com>
|
|
Date: Mon, 1 Sep 2025 20:47:22 +0200
|
|
Subject: [PATCH] Replace hatchling with setuptools-scm build backend
|
|
|
|
---
|
|
pyproject.toml | 9 +++------
|
|
1 file changed, 3 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/pyproject.toml b/pyproject.toml
|
|
index 78dcdc8..5ae2135 100644
|
|
--- a/pyproject.toml
|
|
+++ b/pyproject.toml
|
|
@@ -1,9 +1,6 @@
|
|
[build-system]
|
|
-build-backend = "hatchling.build"
|
|
-requires = [
|
|
- "hatch-vcs",
|
|
- "hatchling>=1.26",
|
|
-]
|
|
+build-backend = "setuptools.build_meta"
|
|
+requires = ["setuptools>=77", "setuptools_scm"]
|
|
|
|
[project]
|
|
name = "iniconfig"
|
|
@@ -21,7 +18,6 @@ dynamic = [
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
- "License :: OSI Approved :: MIT License",
|
|
"Operating System :: MacOS :: MacOS X",
|
|
"Operating System :: Microsoft :: Windows",
|
|
"Operating System :: POSIX",
|
|
@@ -62,6 +58,7 @@ default = "pytest {args}"
|
|
python = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
|
|
|
|
[tool.setuptools_scm]
|
|
+version_file = "src/iniconfig/_version.py"
|
|
|
|
[tool.mypy]
|
|
strict = true
|
|
--
|
|
2.49.0
|
|
|