Skip to content

Commit

Permalink
Added numba requirement.
Browse files Browse the repository at this point in the history
  • Loading branch information
arkottke committed Oct 13, 2017
1 parent ac6d4c3 commit f20802c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,19 @@
import sys
import os

# Mock http://docs.readthedocs.io/en/latest/faq.html
from unittest.mock import MagicMock


class Mock(MagicMock):
@classmethod
def __getattr__(cls, name):
return MagicMock()


MOCK_MODULES = ['numba']
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)

# 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
# documentation root, use os.path.abspath to make it absolute, like shown here.
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
--index-url https://pypi.python.org/simple/

numba
numpy
openpyxl
setuptools
Expand Down

0 comments on commit f20802c

Please sign in to comment.