Skip to content

Commit 3dd041a

Browse files
one truth for version
1 parent df84de7 commit 3dd041a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: MIT
22

33
[build-system]
4-
requires = ["hatchling", "hatch-vcs"]
4+
requires = ["hatchling"]
55
build-backend = "hatchling.build"
66

77
[project]
@@ -133,8 +133,8 @@ include = [
133133
]
134134

135135
[tool.hatch.version]
136-
source = "vcs"
137-
fallback-version = "0.0.0"
136+
path = "disnake/__init__.py"
137+
pattern = '__version__ = "(?P<version>.+)"'
138138

139139
[tool.ruff]
140140
line-length = 100

0 commit comments

Comments
 (0)