adding pyproject
authormushcatshiro <yingjieho@hotmail.com>
Tue, 18 Nov 2025 12:43:13 +0000 (20:43 +0800)
committermushcatshiro <yingjieho@hotmail.com>
Tue, 18 Nov 2025 12:43:13 +0000 (20:43 +0800)
pyproject.toml [new file with mode: 0644]

diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644 (file)
index 0000000..53d423b
--- /dev/null
@@ -0,0 +1,43 @@
+[tool.poetry]
+name = "lumos"
+version = "0.1.0"
+description = "Image analytics CLI"
+authors = ["mushcatshiro <yingjieho@hotmail.com>"]
+license = "MIT"
+readme = "README.md"
+
+[tool.poetry.dependencies]
+python = "^3.8"
+click = "8.1.0"
+numpy = "1.24.0"
+imagecodecs = {version = "2021.11.20", extras = ["all"]}
+opencv-python-headless = "4.7.0.72"
+scikit-image = "0.20"
+pandas = "2.0.3"
+tqdm = "^4.67.1"
+dtale = "^3.18.2"
+zarr = "2.16.0"
+
+
+[build-system]
+requires = ["poetry-core"]
+build-backend = "poetry.core.masonry.api"
+
+[project.scripts]
+lumos = "lumos.main:cli"
+
+[tool.poetry.scripts]
+lumos = "lumos.main:cli"
+
+[tool.basedpyright]
+allowedUntypedLibraries = ["scipy", "numpy", "matplotlib", "cv2"]
+reportAttributeAccessIssue = false
+
+[tool.ruff]
+exclude = [".venv",]
+indent-width = 2
+target-version = "py38"
+line-length = 80
+
+[tool.ruff.format]
+indent-style = "space"