From e9c34e374b2f0c0b49508e567ebac8a955adc5c8 Mon Sep 17 00:00:00 2001 From: Bjoern Ludwig <bjoern.ludwig@ptb.de> Date: Sat, 21 Jan 2023 02:57:30 +0100 Subject: [PATCH] build(deps): restructure docs deps again so not only pip works with extras but poetry as well --- pyproject.toml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c07ced9..0fb595b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,11 +31,20 @@ h5py = "^3.7.0" numpy = "^1.24.1" pooch = "^1.6.0" tqdm = "^4.64.1" -ipython = {version = "^8.8.0", optional = true,extras = ["docs"]} -myst-parser = {version = "^0.18.1", optional = true, extras = ["docs"]} -nbsphinx = {version = "^0.8.12", optional = true, extras = ["docs"]} -sphinx = {version = "^5.3.0", optional = true, extras = ["docs"]} -sphinx-rtd-theme = {version = "^1.1.1", optional = true, extras = ["docs"]} +ipython = {version = "^8.8.0", optional = true} +myst-parser = {version = "^0.18.1", optional = true} +nbsphinx = {version = "^0.8.12", optional = true} +sphinx = {version = "^5.3.0", optional = true} +sphinx-rtd-theme = {version = "^1.1.1", optional = true} + +[tool.poetry.extras] +docs = [ + "ipython", + "parser", + "nbsphinx", + "sphinx", + "sphinx-rtd-theme", +] [tool.poetry.group.test] optional = true -- GitLab