diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 794d170..3e35172 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,6 +45,7 @@ jobs: run: | python -m pip install --upgrade pip python -m pip install .[test] + python -m pip install .[standalone] - name: Test with pytest run: python -m pytest -vv --durations 25 diff --git a/pyproject.toml b/pyproject.toml index a8cbb00..4a5013d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,9 +39,6 @@ classifiers = [ "Topic :: Text Processing", "Topic :: Utilities", ] -dependencies = [ - "Sphinx>=5", -] dynamic = ["version"] [project.optional-dependencies] @@ -53,7 +50,9 @@ lint = [ "mypy", "docutils-stubs", ] - +standalone = [ + "sphinx > 5", +] [[project.authors]] name = "Georg Brandl" email = "georg@python.org"