|
|
@ -1,6 +1,6 @@ |
|
|
|
.PHONY: clean_env init_env clean_virtualenv install_packages clean install run all schema_seminar.pdf schema_all.pdf sync_test_media sync_test_db sync_test sync_local_media sync_local_db sync_local |
|
|
|
PYTHON=python2.7 |
|
|
|
VE_VER=13.1.2 |
|
|
|
VE_VER=16.0.0 |
|
|
|
LOCAL_PYTHON=bin/python |
|
|
|
|
|
|
|
all: install |
|
|
@ -33,7 +33,9 @@ ${LOCAL_PYTHON}: virtualenv |
|
|
|
|
|
|
|
# directory name
|
|
|
|
virtualenv: |
|
|
|
curl -O https://pypi.python.org/packages/source/v/virtualenv/virtualenv-${VE_VER}.tar.gz |
|
|
|
# I could not find a link without hash anymore. This will probably break in |
|
|
|
# the future. |
|
|
|
curl -O https://files.pythonhosted.org/packages/33/bc/fa0b5347139cd9564f0d44ebd2b147ac97c36b2403943dbee8a25fd74012/virtualenv-16.0.0.tar.gz |
|
|
|
tar xvfz virtualenv-${VE_VER}.tar.gz |
|
|
|
mv -T virtualenv-${VE_VER} virtualenv |
|
|
|
rm virtualenv-${VE_VER}.tar.gz |
|
|
|