Skip to content

Commit

Permalink
Merge pull request #42 from elupus/patch-1
Browse files Browse the repository at this point in the history
Move sphinx to extras
  • Loading branch information
thclark committed May 31, 2023
2 parents 3a268c0 + 3f6bec5 commit 0dd6d1e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "rstcloth"
version = "0.5.4"
version = "0.5.5"
description = "A simple Python API for generating RestructuredText."
authors = ["Tom Clark"]
license = "MIT"
Expand All @@ -27,12 +27,12 @@ packages = [{ include = "rstcloth" },]

[tool.poetry.dependencies]
python = ">=3.7,<3.12"
sphinx = ">=2,<6"
Pygments = "^2.12.0"
PyYAML = ">=5,<7"
# These are here as extras to allow them to be installed as extras
# Strictly they're dev-dependencies but they don't get installed that way
# (see https://github.com/python-poetry/poetry/issues/3348)
sphinx = {version = ">=2,<6", optional = true}
sphinx-rtd-theme = {version = "1.0.0", optional = true}
sphinx-tabs = {version = "3.2.0", optional = true}
sphinx-charts = {version = "0.1.2", optional = true}
Expand All @@ -49,7 +49,7 @@ pytest = "^6.2.5"
# tox-poetry = "^0.4.1"

[tool.poetry.extras]
docs = ["sphinx-rtd-theme", "sphinx-tabs", "sphinx-charts", "sphinx-math-dollar"]
docs = ["sphinx", "sphinx-rtd-theme", "sphinx-tabs", "sphinx-charts", "sphinx-math-dollar"]

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand Down

0 comments on commit 0dd6d1e

Please sign in to comment.