From 416aad4b2c12efa810682d04a1c9027b05d66be3 Mon Sep 17 00:00:00 2001 From: abearab Date: Mon, 10 Feb 2025 01:34:15 -0800 Subject: [PATCH 1/2] add `poetry-dynamic-versioning` --- pyproject.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f55322c..b200a35 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "ScreenPro2" version = "0.5.0" description = "Flexible analysis of high-content CRISPR screening" authors = [ - "Abe Arab " + "Abe Arab " ] license = "MIT" readme = "README.md" @@ -14,6 +14,7 @@ packages = [ { include = "screenpro" }, { include = "pyproject.toml" }, ] +dynamic = ["version"] [tool.poetry.dependencies] python = ">=3.9" @@ -25,6 +26,9 @@ screenpro = "screenpro.main:main" pytest = "*" tomli = "*" +[tool.poetry-dynamic-versioning] +enable = true + [build-system] requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"] -build-backend = "poetry_dynamic_versioning.backend" \ No newline at end of file +build-backend = "poetry.core.masonry.api" \ No newline at end of file From 8fefc591afe143f1974caf4d9f84267d67abc7f1 Mon Sep 17 00:00:00 2001 From: abearab Date: Mon, 10 Feb 2025 01:41:09 -0800 Subject: [PATCH 2/2] update version in __init__.py --- pyproject.toml | 1 - screenpro/__init__.py | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b200a35..94a6279 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,5 @@ [tool.poetry] name = "ScreenPro2" -version = "0.5.0" description = "Flexible analysis of high-content CRISPR screening" authors = [ "Abe Arab " diff --git a/screenpro/__init__.py b/screenpro/__init__.py index 7aa5592..8fc895b 100644 --- a/screenpro/__init__.py +++ b/screenpro/__init__.py @@ -29,3 +29,5 @@ from .ngs import GuideCounter from .assays import PooledScreens, GImaps from .dashboard import DrugScreenDashboard + +__version__ = "0.5.1"