Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 06b0a6c

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

File tree

1 file changed

+4
-7
lines changed
Filter options

1 file changed

+4
-7
lines changed

‎doc/conf.py

Copy file name to clipboardExpand all lines: doc/conf.py
+4-7Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.