Skip to content

Commit

Permalink
Merge pull request #15 from IanCa/main
Browse files Browse the repository at this point in the history
Add hatch-vcs for version control
  • Loading branch information
VisLab authored Jul 24, 2024
2 parents 48a2802 + 4d55583 commit 6a3119b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[build-system]
requires = ["hatchling"]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"

[project]
name = "ndx-hed"
version = "0.1.0"
dynamic = ["version"]
authors = [
{ name="Ryan Ly", email="[email protected]" },
{ name="Oliver Ruebel", email="[email protected]" },
Expand Down Expand Up @@ -40,6 +40,12 @@ dependencies = [
"hedtools>=0.5.0"
]

[tool.hatch.version]
source = "vcs"

[tool.hatch.build.hooks.vcs]
version-file = "_version.py"

# TODO: add URLs before release
[project.urls]
"Homepage" = "https://github.com/hed-standard/ndx-hed"
Expand Down Expand Up @@ -112,4 +118,4 @@ line-length = 120
"src/spec/create_extension_spec.py" = ["T201"]

[tool.ruff.mccabe]
max-complexity = 17
max-complexity = 17

0 comments on commit 6a3119b

Please sign in to comment.