From 67ab0286fc80cb0fc9fac31e548e3e52b08d60ce Mon Sep 17 00:00:00 2001 From: Joachim Ungar Date: Tue, 28 Feb 2017 12:28:02 +0100 Subject: [PATCH] mock more packages --- doc/source/conf.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index ea4ebd0e..e0b87d59 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -171,6 +171,8 @@ def __getattr__(cls, name): 'pyyaml', 'flask', 'Pillow', + 'PIL', + 'PIL.Image', 'scipy', 'rasterio', 'rasterio.features', @@ -181,9 +183,16 @@ def __getattr__(cls, name): 'matplotlib', 'matplotlib.pyplot', 'numpy', + 'numpy.ma', 'gdal', 'cached_property', 'pyproj', - 'cachetools' + 'cachetools', + 'shapely', + 'shapely.geometry', + 'shapely.geos', + 'shapely.ops', + 'yaml', + 'affine' ] sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)