You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gristlabs_grist-core/buildtools/prepare_python2.sh

15 lines
258 B

#!/usr/bin/env bash
set -e
echo "Making Python2 sandbox"
if [ ! -e venv ]; then
virtualenv -ppython2.7 venv
fi
. venv/bin/activate
echo "Updating Python2 packages"
pip install --no-deps -r sandbox/requirements.txt
echo "Python2 packages ready in venv"