Skip to content

Commit

Permalink
Merge pull request #1819 from ericpre/add_install_doc_extra
Browse files Browse the repository at this point in the history
Add `doc` entry to extras_require to install doc dependencies
  • Loading branch information
francisco-dlp committed Mar 22, 2018
2 parents 1049090 + dec89af commit 692ee69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/user_guide/install.rst
Expand Up @@ -150,6 +150,7 @@ Alternatively you can select the extra functionalities required:
* ``gui-traitsui`` to install required libraries to use the GUI elements based
on `traitsui <http://docs.enthought.com/traitsui/>`_
* ``test`` to install required libraries to run HyperSpy's unit tests.
* ``doc`` to install required libraries to build HyperSpy's documentation.

For example:

Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -69,6 +69,7 @@
"gui-jupyter": ["hyperspy_gui_ipywidgets"],
"gui-traitsui": ["hyperspy_gui_traitsui"],
"test": ["pytest>=3", "pytest-mpl", "matplotlib>=2.0.2"],
"doc": ["sphinx", "numpydoc", "sphinxcontrib-napoleon", "sphinx_rtd_theme"],
}
extras_require["all"] = list(itertools.chain(*list(extras_require.values())))

Expand Down

0 comments on commit 692ee69

Please sign in to comment.