Skip to content

Commit

Permalink
Doc/Makefile: set PYTHON to python3 (#124)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vstinner authored Feb 15, 2017
1 parent 5325197 commit 91b0e7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#

# You can set these variables from the command line.
PYTHON = python
PYTHON = python3
SPHINXBUILD = sphinx-build
PAPER =
SOURCES =
Expand Down

0 comments on commit 91b0e7d

Please sign in to comment.