Skip to content

Commit ed6aabb

Browse files
committed
Upgrade virtualenv to 16.0.0.
Note that now pypi download URL requires redirect.
1 parent 2a0156d commit ed6aabb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

python.make

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
PYTHON_RUNTIME_DIR ?= $(abspath runtime)
3434
PYTHON_CACHE_DIR ?= $(abspath .cache)
3535

36-
VIRTUALENV_VERSION ?= 1.11.4
36+
VIRTUALENV_VERSION ?= 16.0.0
3737
VIRTUALENV_URL ?= https://pypi.python.org/packages/source/v/virtualenv/virtualenv-$(VIRTUALENV_VERSION).tar.gz
3838

3939
VIRTUALENV_RUN_BY ?= python
@@ -90,7 +90,7 @@ $(PYTHON_CACHE_DIR)/virtualenv/virtualenv.py: $(PYTHON_CACHE_DIR)/virtualenv-$(V
9090
$(PYTHON_CACHE_DIR)/virtualenv-$(VIRTUALENV_VERSION).tar.gz:
9191
# TODO: Replaces curl(1) with the built-in urllib2 module of python.
9292
mkdir -p $(PYTHON_CACHE_DIR);
93-
cd $(PYTHON_CACHE_DIR); curl --remote-name $(VIRTUALENV_URL);
93+
cd $(PYTHON_CACHE_DIR); curl -L --remote-name $(VIRTUALENV_URL);
9494

9595
# Eliminate the error message: "make: *** No rule to make target `..'. Stop."
9696
# Only when the first goal is python-pip or python-exec.

0 commit comments

Comments
 (0)