Skip to content

Commit

Permalink
Mock scipy and numpy for Read the Docs (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenyu committed Mar 27, 2018
1 parent 9dd52c3 commit 8a80433
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ def __getattr__(cls, name):


MOCK_MODULES = ['tensorflow', 'tensorflow.core', 'tensorflow.core.framework', 'tensorflow.python',
'tensorflow.python.framework', 'tensorflow_serving', 'tensorflow_serving.apis']
'tensorflow.python.framework', 'tensorflow_serving', 'tensorflow_serving.apis',
'numpy', 'scipy', 'scipy.sparse']
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)

version = '1.1.2'
Expand Down

0 comments on commit 8a80433

Please sign in to comment.