mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Doc/Makefile: set PYTHON to python3 (#124)
rstlint.py run by "make check" doesn't support Python 2. "make venv" runs "$(PYTHON) -m venv", whereas Python 2 doens't provide the venv module: it's a module of Python 3 standard library.
This commit is contained in:
parent
532519770d
commit
91b0e7d0ca
2 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ matrix:
|
||||||
- TESTING=docs
|
- TESTING=docs
|
||||||
before_script:
|
before_script:
|
||||||
- cd Doc
|
- cd Doc
|
||||||
- make venv PYTHON=python3
|
- make venv
|
||||||
script:
|
script:
|
||||||
- make check suspicious html PYTHON="./venv/bin/python" SPHINXBUILD="./venv/bin/python -m sphinx" SPHINXOPTS="-q"
|
- make check suspicious html PYTHON="./venv/bin/python" SPHINXBUILD="./venv/bin/python -m sphinx" SPHINXOPTS="-q"
|
||||||
- os: linux
|
- os: linux
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# You can set these variables from the command line.
|
# You can set these variables from the command line.
|
||||||
PYTHON = python
|
PYTHON = python3
|
||||||
SPHINXBUILD = sphinx-build
|
SPHINXBUILD = sphinx-build
|
||||||
PAPER =
|
PAPER =
|
||||||
SOURCES =
|
SOURCES =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue