8000 Merge pull request #22552 from anntzer/cd · oscargus/matplotlib@06b0a6c · GitHub
[go: up one dir, main page]

Skip to content

Commit 06b0a6c

Browse files
authored
Merge pull request matplotlib#22552 from anntzer/cd
Tweak dependency checking in doc/conf.py.
2 parents 45d26c5 + bd632ff commit 06b0a6c

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

doc/conf.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,11 @@
8484

8585
def _check_dependencies():
8686
names = {
87+
**{ext: ext.split(".")[0] for ext in extensions},
88+
# Explicitly list deps that are not extensions, or whose PyPI package
89+
# name does not match the (toplevel) module name.
8790
"colorspacious": 'colorspacious',
88-
"IPython.sphinxext.ipython_console_highlighting": 'ipython',
89-
"matplotlib": 'matplotlib',
90-
"numpydoc": 'numpydoc',
91-
"PIL.Image": 'pillow',
92-
"pydata_sphinx_theme": 'pydata_sphinx_theme',
93-
"sphinx_copybutton": 'sphinx_copybutton',
94-
"sphinx_gallery": 'sphinx_gallery',
91+
"mpl_sphinx_theme": 'mpl_sphinx_theme',
9592
"sphinxcontrib.inkscapeconverter": 'sphinxcontrib-svg2pdfconverter',
9693
}
9794
missing = []

0 commit comments

Comments
 (0)
0