diff --git a/bento/_version.py b/bento/_version.py index 5baf2b2..980735c 100644 --- a/bento/_version.py +++ b/bento/_version.py @@ -4,7 +4,7 @@ def get_version(): import os import pathlib - package_dir = pathlib.Path(__file__).parent.parent + package_dir = pathlib.Path(__file__).parent pyproject_path = os.path.join(package_dir, "pyproject.toml") with open(pyproject_path, "rb") as f: diff --git a/pyproject.toml b/pyproject.toml index 6dc48de..1bf2fef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ dependencies = [ license = "BSD-2-Clause" readme = "README.md" requires-python = ">= 3.10" -version = "2.1.4" +version = "2.1.4.post1" [project.optional-dependencies] @@ -46,7 +46,7 @@ extras = ["torch>=2.2.2", "spatialdata-plot>=0.2.4"] all = ["bento-tools[docs]", "bento-tools[extras]"] [build-system] -requires = ["hatchling"] +requires = ["hatchling==1.26.3"] build-backend = "hatchling.build" [tool.rye]