Skip to content

Commit e2042dc

Browse files
fix: use the version from disnake/__init__.py
1 parent 1f31141 commit e2042dc

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]
@@ -127,8 +127,8 @@ include = [
127127
]
128128

129129
[tool.hatch.version]
130-
source = "vcs"
131-
fallback-version = "0.0.0"
130+
path = "disnake/__init__.py"
131+
pattern = '__version__ = "(?P<version>.+)"'
132132

133133
[tool.ruff]
134134
line-length = 100

0 commit comments

Comments
 (0)