diff --git a/docs/source/conf.py b/docs/source/conf.py index d916620..8d10862 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -268,3 +268,16 @@ # If true, do not generate a @detailmenu in the "Top" node's menu. #texinfo_no_detailmenu = False + +try: + from unittest.mock import MagicMock +except ImportError: + from mock import Mock as MagicMock + +class Mock(MagicMock): + @classmethod + def __getattr__(cls, name): + return Mock() + +MOCK_MODULES = ['pandas'] +sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES) \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..483e9ce --- /dev/null +++ b/requirements.txt @@ -0,0 +1,4 @@ +SQLalchemy>=0.9 +smuggle==0.2.0 +pandas>=0.15 +Quandl>=2.8 \ No newline at end of file