From 847861507b49232f4cf7646305b59e82b3ea9f5a Mon Sep 17 00:00:00 2001 From: Xiangchong Li Date: Sun, 17 Nov 2024 20:05:21 +0900 Subject: [PATCH] update __init__ and scm --- pyproject.toml | 2 ++ xlens/__init__.py | 1 + 2 files changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index b04efae..d1550b0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,6 +46,8 @@ requires = [ build-backend = "setuptools.build_meta" [tool.setuptools_scm] +version_scheme = "post-release" +local_scheme = "dirty-tag" write_to = "xlens/__version__.py" [tool.pytest.ini_options] diff --git a/xlens/__init__.py b/xlens/__init__.py index 6309fa1..fb8068c 100644 --- a/xlens/__init__.py +++ b/xlens/__init__.py @@ -1,3 +1,4 @@ +from .__version__ import __version__ # noqa from . import ( catalog, process_pipe,