Skip to content

Commit

Permalink
deps: Make Sphinx optional
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <ryan@synca.io>
  • Loading branch information
phlax committed Aug 24, 2023
1 parent aba1193 commit fd46214
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ classifiers = [
"Topic :: Text Processing",
"Topic :: Utilities",
]
dependencies = [
"Sphinx>=5",
]
dynamic = ["version"]

[project.optional-dependencies]
Expand All @@ -53,6 +50,9 @@ lint = [
"mypy",
"docutils-stubs",
]
standalone = [
"sphinx > 5",
]

[[project.authors]]
name = "Georg Brandl"
Expand Down

0 comments on commit fd46214

Please sign in to comment.