From 39e020b97dbc79bd2d82e1648cadab13a494d26d Mon Sep 17 00:00:00 2001 From: mathiasg Date: Wed, 4 Oct 2023 13:49:06 -0400 Subject: [PATCH] FIX: UPy2 compatibility --- wrapper/pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wrapper/pyproject.toml b/wrapper/pyproject.toml index 889df230..6915125c 100644 --- a/wrapper/pyproject.toml +++ b/wrapper/pyproject.toml @@ -49,6 +49,12 @@ raw-options = { version_scheme = "nipreps-calver", root = ".." } [tool.hatch.build.hooks.vcs] version-file = "src/nibabies_wrapper/_version.py" +template = """\ +# file generated by setuptools_scm +# don't change, don't track in version control +__version__ = version = {version!r} +__version_tuple__ = version_tuple = {version_tuple!r} +""" [tool.distutils.bdist_wheel] universal = true