Skip to content

Commit

Permalink
Added docs package requirements to setup.py (#290)
Browse files Browse the repository at this point in the history
* added docs requirements

* fix spaces

* pruned requirements.txt

* version bump
  • Loading branch information
marcomangano authored Apr 4, 2022
1 parent c55b4ea commit a4ae1b1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 0 additions & 2 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
numpydoc
sphinx_mdolab_theme>=1.2
sphinxcontrib-bibtex
2 changes: 1 addition & 1 deletion pyoptsparse/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.8.0"
__version__ = "2.8.1"

from .pyOpt_history import History
from .pyOpt_variable import Variable
Expand Down
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ def configuration(parent_package="", top_path=None):
open("pyoptsparse/__init__.py").read(),
)[0]

with open("doc/requirements.txt") as f:
docs_require = f.read().splitlines()

setup(
name="pyoptsparse",
version=__version__,
Expand All @@ -69,6 +72,7 @@ def configuration(parent_package="", top_path=None):
"plotly",
"matplotlib",
],
"docs": docs_require,
"testing": ["testflo>=1.4.5"],
},
package_data={"pyoptsparse": ["postprocessing/assets/*"]},
Expand Down

0 comments on commit a4ae1b1

Please sign in to comment.