Skip to content

Commit

Permalink
docs: install package on rtfd
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Nov 2, 2018
1 parent 49879a3 commit 8c320cc
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 21 deletions.
1 change: 1 addition & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ formats:
requirements_file: docs/requirements.txt
python:
version: 3
pip_install: true
14 changes: 0 additions & 14 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,6 @@
# include extenstions
sys.path.append(op.abspath('extensions'))

if False:
# Mock all dependencies
install_requires=["appdirs",
"h5py",
"jprops",
"lmfit",
"scipy",
"skimage",
]

for mod_name in install_requires:
sys.modules[mod_name] = mock.Mock()
autodoc_mock_imports = install_requires

# http://www.sphinx-doc.org/en/stable/ext/autodoc.html#confval-autodoc_member_order
# Order class attributes and functions in separate blocks
autodoc_member_order = 'groupwise'
Expand Down
6 changes: 1 addition & 5 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,4 @@ sphinx-argparse==0.2.1
# CommonMark 0.8.3 did not work with argparse
CommonMark==0.7.5
sphinxcontrib.bibtex
numpy
matplotlib
h5py
ipython
scipy

2 changes: 1 addition & 1 deletion docs/sec_cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ rate
.. _sec_cli_generate_training_set:

nanite-generate-training-set
----
----------------------------
.. argparse::
:module: nanite.cli.rating
:func: generate_training_set_parser
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"lmfit==0.9.5",
"numpy>=1.12.0",
"pandas",
"scipy",
"scikit-learn>=0.18.0",
"scipy",
],
ext_modules = extensions,
setup_requires=["cython", "numpy", "pytest-runner"],
Expand Down

0 comments on commit 8c320cc

Please sign in to comment.