[build-pipenv.sh] modified command to create the pipenv virtual environment

pull/416/head
Chris Simpkins 2018-03-16 19:30:49 +07:00
parent 96a35cb528
commit ee180fbffe
1 changed files with 2 additions and 4 deletions

@ -11,16 +11,14 @@
#
# /////////////////////////////////////////////////////////////////
BUILD_PYTHON_VERSION="3.6"
if ! which pipenv
then
echo "Unable to detect a pipenv install. Please install with 'pip install pipenv' then repeat your build attempt." 1>&2
exit 1
fi
# install fontTools and fontmake build dependencies with pipenv
pipenv install --python $BUILD_PYTHON_VERSION --ignore-pipfile fontmake fontTools
# create virtualenv and install build dependencies
pipenv install --ignore-pipfile
# test for fontmake install in venv
if ! pipenv run fontmake --version