From 7bbd2329069be9b3c0c047f79ba2b3b458ce37aa Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 15 Feb 2017 23:25:07 +0100 Subject: [PATCH] Doc/Makefile: set PYTHON to python3 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. --- .travis.yml | 2 +- Doc/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9cb227230f8bc5..27b63c6c08b376 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/Doc/Makefile b/Doc/Makefile index 6e1c18304080d6..eb62df5b87cebe 100644 --- a/Doc/Makefile +++ b/Doc/Makefile @@ -4,7 +4,7 @@ # # You can set these variables from the command line. -PYTHON = python +PYTHON = python3 SPHINXBUILD = sphinx-build PAPER = SOURCES =