Skip to content

Commit

Permalink
Add optional dependencies for testing and documentation builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
tshead2 committed Nov 18, 2022
1 parent 3947a65 commit d6204bc
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@

# -- nbsphinx options --------------------------------------------------------

nbsphinx_execute = "never" if "READTHEDOCS" in os.environ else "always"
nbsphinx_execute = "never"

# -- Options for HTML output -------------------------------------------------

Expand Down
4 changes: 2 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
blinker
ipython
nbsphinx>=0.8.6
nbsphinx
networkx
pygraphviz
sphinx-gallery
sphinx-gallery < 0.11
sphinx_rtd_theme
22 changes: 22 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,28 @@ maintainers = [{name="Timothy M. Shead", email="tim@shead-custom-design.com"}]
name="graphcat"
requires-python = ">=3.8"

[project.optional-dependencies]
all = [
"behave",
"coverage",
"ipython",
"nbsphinx",
"sphinx >= 3.5",
"sphinx-gallery < 0.11",
"sphinx_rtd_theme",
]
doc = [
"ipython",
"nbsphinx",
"sphinx >= 3.5",
"sphinx-gallery < 0.11",
"sphinx_rtd_theme",
]
test = [
"behave",
"coverage",
]

[project.readme]
text = "Graphcat provides a lightweight, flexible toolkit for managing computational graphs. See the Graphcat documentation at http://graphcat.readthedocs.io, and the Graphcat sources at http://github.com/shead-custom-design/graphcat"
content-type = "text/plain"
Expand Down

0 comments on commit d6204bc

Please sign in to comment.