8000 bpo-33673: Install python-docs-theme even if Sphinx is already instal… · python/cpython@3d3e66c · GitHub
[go: up one dir, main page]

Skip to content

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 3d3e66c

Browse files
andresdelfinozooba
authored andcommitted
bpo-33673: Install python-docs-theme even if Sphinx is already installed (GH-7163)
1 parent 7165754 commit 3d3e66c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Doc/make.bat

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ if not defined SPHINXBUILD (
1313
%PYTHON% -c "import sphinx" > nul 2> nul
1414
if errorlevel 1 (
1515
echo Installing sphinx with %PYTHON%
16-
%PYTHON% -m pip install sphinx python-docs-theme
16+
%PYTHON% -m pip install sphinx
17+
if errorlevel 1 exit /B
18+
)
19+
%PYTHON% -c "import python_docs_theme" > nul 2> nul
20+
if errorlevel 1 (
21+
echo Installing python-docs-theme with %PYTHON%
22+
%PYTHON% -m pip install python-docs-theme
1723
if errorlevel 1 exit /B
1824
)
1925
set SPHINXBUILD=%PYTHON% -c "import sphinx, sys; sys.argv[0] = 'sphinx-build'; sphinx.main()"

0 commit comments

Comments
 (0)
0