Skip to content

Commit 39e020b

Browse files
committed
FIX: UPy2 compatibility
1 parent b98031e commit 39e020b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

wrapper/pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ raw-options = { version_scheme = "nipreps-calver", root = ".." }
4949

5050
[tool.hatch.build.hooks.vcs]
5151
version-file = "src/nibabies_wrapper/_version.py"
52+
template = """\
53+
# file generated by setuptools_scm
54+
# don't change, don't track in version control
55+
__version__ = version = {version!r}
56+
__version_tuple__ = version_tuple = {version_tuple!r}
57+
"""
5258

5359
[tool.distutils.bdist_wheel]
5460
universal = true

0 commit comments

Comments
 (0)