source: trunk/docs/conf.py @ 2028

Last change on this file since 2028 was 2028, checked in by toby, 6 years ago

some dummy packages for RTFD build

  • Property svn:eol-style set to native
File size: 288 bytes
Line 
1import sys
2from mock import Mock as MagicMock
3
4class Mock(MagicMock):
5    @classmethod
6    def __getattr__(cls, name):
7            return Mock()
8
9MOCK_MODULES = ['wx', 'numpy', 'scipy', 'pypowder', 'pyspg', 'pytexture']
10sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)
Note: See TracBrowser for help on using the repository browser.