forked from AFPy/python-docs-fr
Works better on travis. (#1060)
This commit is contained in:
parent
bab6860e49
commit
152982b945
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user