From a4ae1b1fbbf69312fbbf5d743177dd096088dacb Mon Sep 17 00:00:00 2001 From: Marco Mangano <36549388+marcomangano@users.noreply.github.com> Date: Mon, 4 Apr 2022 14:09:45 -0400 Subject: [PATCH] Added docs package requirements to setup.py (#290) * added docs requirements * fix spaces * pruned requirements.txt * version bump --- doc/requirements.txt | 2 -- pyoptsparse/__init__.py | 2 +- setup.py | 4 ++++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 6e378c4c..769a5080 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,3 +1 @@ -numpydoc sphinx_mdolab_theme>=1.2 -sphinxcontrib-bibtex diff --git a/pyoptsparse/__init__.py b/pyoptsparse/__init__.py index febea82f..79563af6 100644 --- a/pyoptsparse/__init__.py +++ b/pyoptsparse/__init__.py @@ -1,4 +1,4 @@ -__version__ = "2.8.0" +__version__ = "2.8.1" from .pyOpt_history import History from .pyOpt_variable import Variable diff --git a/setup.py b/setup.py index 13f1904c..fd153e04 100644 --- a/setup.py +++ b/setup.py @@ -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__, @@ -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/*"]},