Works better on travis. (#1060)

This commit is contained in:
Julien Palard 2019-12-12 11:24:14 +01:00 committed by GitHub
parent bab6860e49
commit 152982b945
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@
# .po files.
CPYTHON_CURRENT_COMMIT := e21aa61e96f8343200e765d119ebe778873a6bf1
CPYTHON_PATH := $(realpath ../cpython/)
CPYTHON_PATH := ../cpython/
LANGUAGE := fr
BRANCH := 3.8
@ -86,7 +86,7 @@ setup: venv
.PHONY: venv
venv:
@if [ ! -d $(VENV) ]; then $(PYTHON) -m venv --prompt python-docs-fr $(VENV); fi
@$(VENV)/bin/pip install -q -r requirements.txt 2> $(VENV)/pip-install.log
@$(VENV)/bin/python -m pip install -q -r requirements.txt 2> $(VENV)/pip-install.log
@if grep -q 'pip install --upgrade pip' $(VENV)/pip-install.log; then \
$(VENV)/bin/pip install -q --upgrade pip; \
fi