Commit 91b0e7d0 authored by Victor Stinner's avatar Victor Stinner Committed by GitHub

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.
parent 53251977
......@@ -37,7 +37,7 @@ matrix:
- TESTING=docs
before_script:
- cd Doc
- make venv PYTHON=python3
- make venv
script:
- make check suspicious html PYTHON="./venv/bin/python" SPHINXBUILD="./venv/bin/python -m sphinx" SPHINXOPTS="-q"
- os: linux
......
......@@ -4,7 +4,7 @@
#
# You can set these variables from the command line.
PYTHON = python
PYTHON = python3
SPHINXBUILD = sphinx-build
PAPER =
SOURCES =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment