From ef8158d2811296e1d0ea6770f65b8a94fd8365cd Mon Sep 17 00:00:00 2001 From: Enno Hermann Date: Wed, 6 Nov 2024 10:06:20 +0100 Subject: [PATCH] build: use group not extra for docs dependencies --- README.md | 4 +--- pyproject.toml | 18 +++++++++--------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 507cce92..5ca825b6 100644 --- a/README.md +++ b/README.md @@ -147,9 +147,7 @@ The following extras allow the installation of optional dependencies: | Name | Description | |------|-------------| -| `all` | All optional dependencies, except `dev` and `docs` | -| `dev` | Development dependencies | -| `docs` | Dependencies for building the documentation | +| `all` | All optional dependencies | | `notebooks` | Dependencies only used in notebooks | | `server` | Dependencies to run the TTS server | | `bn` | Bangla G2P | diff --git a/pyproject.toml b/pyproject.toml index 389c0c66..23387fd3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,15 +77,6 @@ dependencies = [ ] [project.optional-dependencies] -# Dependencies for building the documentation -docs = [ - "furo>=2023.5.20", - "myst-parser==2.0.0", - "sphinx==7.2.5", - "sphinx_inline_tabs>=2023.4.21", - "sphinx_copybutton>=0.1", - "linkify-it-py>=2.0.0", -] # Only used in notebooks notebooks = [ "bokeh==1.4.0", @@ -136,6 +127,15 @@ dev = [ "pre-commit>=3", "ruff==0.7.0", ] +# Dependencies for building the documentation +docs = [ + "furo>=2023.5.20", + "myst-parser==2.0.0", + "sphinx==7.2.5", + "sphinx_inline_tabs>=2023.4.21", + "sphinx_copybutton>=0.1", + "linkify-it-py>=2.0.0", +] [project.urls] Homepage = "https://github.com/idiap/coqui-ai-TTS"