- Properly define pytest as an extra dependency

This commit is contained in:
Wim Pomp
2023-03-31 12:53:09 +02:00
parent 506ee461cb
commit 332eaab6d5
2 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View File

@@ -3,3 +3,4 @@
/.idea/ /.idea/
/tiffwrite.egg-info/ /tiffwrite.egg-info/
/.pytest_cache/ /.pytest_cache/
/venv/

View File

@@ -20,9 +20,10 @@ numpy = "*"
tqdm = "*" tqdm = "*"
colorcet = "*" colorcet = "*"
matplotlib = "*" matplotlib = "*"
pytest = { version = "*", optional = true }
[tool.poetry.group.test.dependencies] [tool.poetry.extras]
pytest = "*" test = ["pytest"]
[build-system] [build-system]
requires = ["poetry-core"] requires = ["poetry-core"]