Skip to content

Commit

Permalink
working on readthedocs build
Browse files Browse the repository at this point in the history
  • Loading branch information
Niru Maheswaranathan committed Dec 12, 2015
1 parent 47836b2 commit 6314cac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,7 @@
# hack to deal with imports that have C extensions
import sys
import os
from unittest import mock
import sphinx_rtd_theme
MOCK_MODULES = ['scipy', 'matplotlib', 'matplotlib.pyplot', 'scipy.optimize',
'scipy.linalg.blas', 'scipy.signal', 'scipy.fftpack', 'skimage',
'skimage.restoration', 'skimage.measure', 'skimage.filters',
'matplotlib.patches']
for mod_name in MOCK_MODULES:
sys.modules[mod_name] = mock.Mock()

import pyret

# If extensions (or modules to document with autodoc) are in another directory,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
author='Benjamin Naecker, Niru Maheshwaranathan',
author_email='bnaecker@stanford.edu',
url='https://github.com/baccuslab/pyret.git',
requires=[i.strip() for i in open("requirements.txt").readlines()],
requires=['scipy', 'skimage', 'numpy', 'matplotlib'],
long_description='''
The pyret package contains tools for analyzing neural
data. In particular, it contains methods for manipulating
Expand Down

0 comments on commit 6314cac

Please sign in to comment.