From ed21b47f614b4d5665218b36d4d0671837e2f8f4 Mon Sep 17 00:00:00 2001 From: Santiago Martinez Date: Sun, 26 Feb 2023 21:10:44 +0000 Subject: [PATCH] update packaging file with new CLI --- pyproject.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index d560fc3..f9a1adc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ [project] name = "batdetect2" -version = "0.1.0" +version = "0.2.0" description = "Deep learning model for detecting and classifying bat echolocation calls in high frequency audio recordings." authors = [{ "name" = "Oisin Mac Aodha", "email" = "oisin.macaodha@ed.ac.uk" }] dependencies = [ @@ -46,7 +46,7 @@ requires = ["pdm-pep517>=1.0.0"] build-backend = "pdm.pep517.api" [project.scripts] -batdetect2 = "bat_detect.command:main" +batdetect2 = "bat_detect.cli:cli" [tool.black] line-length = 80 @@ -62,3 +62,9 @@ ignore_missing_imports = true enabled = false live_mode = true strict = true + +[tool.pyright] +include = [ + "bat_detect", + "tests", +]