Changeset 20:a5acdf15091f in orange-reliability for docs/rst/conf.py


Ignore:
Timestamp:
08/28/12 13:29:21 (20 months ago)
Author:
Matija Polajnar <matija.polajnar@…>
Branch:
default
Message:

Fix readthedocs documentation building issues. Hopefully.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/rst/conf.py

    r4 r20  
    1010 
    1111import sys, os 
     12import mock 
     13 
     14MOCK_MODULES = ["numpy", "numpy.core", "numpy.core.ma", "scipy", "scipy.stats", "ma", "linalg"] 
     15for mod_name in MOCK_MODULES: 
     16    sys.modules[mod_name] = mock.Mock() 
    1217 
    1318import imp 
Note: See TracChangeset for help on using the changeset viewer.