Skip to content

Commit

Permalink
Build: Moved hatch-vcs to vcs build hook's dependencies (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
francis-clairicia authored Jun 23, 2024
1 parent f4602de commit 0f88537
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 34 deletions.
34 changes: 2 additions & 32 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling >=1.20,<2", "hatch-vcs~=0.4.0"]
requires = ["hatchling >=1.20,<2"]
build-backend = "hatchling.build"

[project]
Expand Down Expand Up @@ -64,7 +64,6 @@ sniffio = [
dev = [
"bump2version>=1.0.1",
"hatch>=1.8",
"hatch-vcs~=0.4.0",
]
build = [
"build>=1.0.3",
Expand Down Expand Up @@ -150,6 +149,7 @@ fallback-version = "1.0.0rc8"
local_scheme = "no-local-version"

[tool.hatch.build.hooks.vcs]
dependencies = ["hatch-vcs~=0.4.0"]
version-file = "src/easynetwork/version.py"
template = '''
# Copyright 2021-2024, Francis Clairicia-Rose-Claire-Josephine
Expand Down

0 comments on commit 0f88537

Please sign in to comment.