Skip to content

Commit c18a6b7

Browse files
committed
fix
1 parent 1c093f0 commit c18a6b7

File tree

4 files changed

+8
-24
lines changed

4 files changed

+8
-24
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ bids-examples
22
report.txt
33

44
# do not track _version.py for hatch
5-
# bids/ext/reports/_version.py
5+
bids/ext/reports/_version.py
66

77
tmp.py
88

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ docs: ## generate Sphinx HTML documentation, including API docs
2020
$(BROWSER) docs/build/html/index.html
2121

2222
build: ## builds source and wheel package
23+
pip install --upgrade build twine
2324
rm -fr dist
2425
python -m build
2526
twine check dist/*

bids/ext/reports/_version.py

Lines changed: 0 additions & 17 deletions
This file was deleted.

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
requires = ["hatchling", "hatch-vcs"]
33
build-backend = "hatchling.build"
44

5-
# [tool.hatch.version]
6-
# source = "vcs"
5+
[tool.hatch.version]
6+
source = "vcs"
77

88
[tool.hatch.build.targets.wheel]
99
packages = ["bids"]
1010
only-include = ["bids/ext/reports"]
1111
# recursive-include bids/ext/reports/config *.json
1212
# recursive-include bids/ext/reports/tests/data *
1313

14-
# [tool.hatch.build.hooks.vcs]
15-
# version-file = "bids/ext/reports/_version.py"
14+
[tool.hatch.build.hooks.vcs]
15+
version-file = "bids/ext/reports/_version.py"
1616

1717
[project]
1818
name = "pybids_reports"
@@ -40,8 +40,8 @@ classifiers = [
4040
"Programming Language :: Python :: 3 :: Only",
4141
"Topic :: Scientific/Engineering",
4242
]
43-
# dynamic = ["version"]
44-
version = "0.1.0"
43+
dynamic = ["version"]
44+
# version = "0.1.0"
4545

4646
[project.scripts]
4747
pybids_reports = "bids.ext.reports.cli:cli"

0 commit comments

Comments
 (0)