From 6cf4310fb255dd33d12be32a59b8401a2bcf1ea7 Mon Sep 17 00:00:00 2001 From: mushcatshiro Date: Tue, 18 Nov 2025 20:43:13 +0800 Subject: [PATCH] adding pyproject --- pyproject.toml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..53d423b --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,43 @@ +[tool.poetry] +name = "lumos" +version = "0.1.0" +description = "Image analytics CLI" +authors = ["mushcatshiro "] +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" -- 2.34.1