Skip to content

Commit

Permalink
rtd setup
Browse files Browse the repository at this point in the history
  • Loading branch information
lthurner committed Feb 25, 2019
1 parent 6e94ca5 commit c358f02
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2

python:
version: 3.5
install:
- method: pip
path: .
extra_requirements:
- docs
3 changes: 0 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

import os
import sys
import mock

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand Down Expand Up @@ -73,8 +72,6 @@
# directories to ignore when looking for source files.
exclude_patterns = ['_build', '**.ipynb_checkpoints']

autodoc_mock_imports = ['numpy', 'scipy', 'numba', 'pandas', 'matplotlib',
'scipy', 'seaborn', 'plotly', 'geopandas']
# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"networkx",
"numpy",
"scipy"],
extras_require = {":python_version<'3.0'": ["future"]},
extras_require = {":python_version<'3.0'": ["future"],
"docs": ["numpydoc", "sphinx", "sphinx_rtd_theme"]},
packages=find_packages(),
include_package_data=True,
classifiers=[
Expand Down

0 comments on commit c358f02

Please sign in to comment.