summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/iniconfig/version.patch
blob: fa046cdc2076cbeb76bfcb5ffc02eb1516991f0b (plain)
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
37
38
39
40
41
diff --git a/pyproject.toml b/pyproject.toml
index 05cd96e..eb2000f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,12 +1,12 @@
 [build-system]
 build-backend = "hatchling.build"
 requires = [
-  "hatch-vcs",
   "hatchling>=1.26",
 ]
 
 [project]
 name = "iniconfig"
+version = "@version@"
 description = "brain-dead simple config-ini parsing"
 readme = "README.rst"
 license = "MIT"
@@ -15,9 +15,6 @@ authors = [
     { name = "Holger Krekel", email = "holger.krekel@gmail.com" },
 ]
 requires-python = ">=3.8"
-dynamic = [
-  "version",
-]
 classifiers = [
     "Development Status :: 4 - Beta",
     "Intended Audience :: Developers",
@@ -40,12 +37,6 @@ classifiers = [
 Homepage = "https://github.com/pytest-dev/iniconfig"
 
 
-[tool.hatch.version]
-source = "vcs"
-
-[tool.hatch.build.hooks.vcs]
-version-file = "src/iniconfig/_version.py"
-
 [tool.hatch.build.targets.sdist]
 include = [
     "/src",