From 332eaab6d5a983aa8b264cdedd8d44e09ca894e0 Mon Sep 17 00:00:00 2001 From: Wim Pomp Date: Fri, 31 Mar 2023 12:53:09 +0200 Subject: [PATCH] - Properly define pytest as an extra dependency --- .gitignore | 1 + pyproject.toml | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 50bef87..5a5a156 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /.idea/ /tiffwrite.egg-info/ /.pytest_cache/ +/venv/ diff --git a/pyproject.toml b/pyproject.toml index 31e1963..d473cb0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,9 +20,10 @@ numpy = "*" tqdm = "*" colorcet = "*" matplotlib = "*" +pytest = { version = "*", optional = true } -[tool.poetry.group.test.dependencies] -pytest = "*" +[tool.poetry.extras] +test = ["pytest"] [build-system] requires = ["poetry-core"]