summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-02-15 22:36:08 (GMT)
committerGitHub <noreply@github.com>2017-02-15 22:36:08 (GMT)
commit91b0e7d0ca7c59df28f6a6fc1e8eb86a3925b76c (patch)
treecd4a71bbac2f723979bf5da1eab724d20a756f0a
parent532519770dea5d353f0b0d718c8881a15c7542df (diff)
downloadcpython-91b0e7d0ca7c59df28f6a6fc1e8eb86a3925b76c.zip
cpython-91b0e7d0ca7c59df28f6a6fc1e8eb86a3925b76c.tar.gz
cpython-91b0e7d0ca7c59df28f6a6fc1e8eb86a3925b76c.tar.bz2
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.
-rw-r--r--.travis.yml2
-rw-r--r--Doc/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 9cb2272..27b63c6 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 6e1c183..eb62df5 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 =