diff --git a/.gitignore b/.gitignore index 029da0a..3b0acb9 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,7 @@ share/python-wheels/ .installed.cfg *.egg MANIFEST +src/susi_lib/_version.py # PyInstaller # Usually these files are written by a python script from a template diff --git a/pyproject.toml b/pyproject.toml index 6af0942..1e89819 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling", "hatch-vcs"] +requires = ["hatchling>=1.25.0", "hatch-vcs>=0.4.0"] build-backend = "hatchling.build" [project] @@ -29,7 +29,7 @@ Homepage = "https://github.com/olilag/susi-lib" source = "vcs" [tool.hatch.build.hooks.vcs] -version-file = "src/hatch/_version.py" +version-file = "src/susi_lib/_version.py" [tool.hatch.build.targets.sdist] exclude = [