8000 MAINT added early checks for dependencies for doc building · matplotlib/matplotlib@be0fb7d · GitHub
[go: up one dir, main page]

Skip to content

Commit be0fb7d

Browse files
committed
MAINT added early checks for dependencies for doc building
1 parent 63e58b3 commit be0fb7d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/conf.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@
6767
raise ImportError("No module named mock - you need to install "
6868
"mock to build the documentation")
6969

70+
try:
71+
from PIL import Image
72+
except ImportError:
73+
raise ImportError("No module named Image - you need to install "
74+
"pillow to build the documentation")
75+
76+
7077
try:
7178
import matplotlib
7279
except ImportError:

0 commit comments

Comments
 (0)
0