depot/third_party/nixpkgs/pkgs/development/python-modules/iniconfig/version.patch
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

42 lines
924 B
Diff

diff --git a/pyproject.toml b/pyproject.toml
index 6eee6ef..263999f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,12 +1,12 @@
[build-system]
build-backend = "hatchling.build"
requires = [
- "hatch-vcs",
"hatchling",
]
[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.7"
-dynamic = [
- "version",
-]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
@@ -38,13 +35,6 @@ classifiers = [
[project.urls]
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",