Skip to content

Commit 91b0e7d

Browse files
authored
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.
1 parent 5325197 commit 91b0e7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ matrix:
3737
- TESTING=docs
3838
before_script:
3939
- cd Doc
40-
- make venv PYTHON=python3
40+
- make venv
4141
script:
4242
- make check suspicious html PYTHON="./venv/bin/python" SPHINXBUILD="./venv/bin/python -m sphinx" SPHINXOPTS="-q"
4343
- os: linux

Doc/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55

66
# You can set these variables from the command line.
7-
PYTHON = python
7+
PYTHON = python3
88
SPHINXBUILD = sphinx-build
99
PAPER =
1010
SOURCES =

0 commit comments

Comments
 (0)