Skip to content

Commit 7de5d65

Browse files
committed
added Python interpreter version definition to virtualenv scripting
1 parent da20882 commit 7de5d65

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build-pipenv.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,16 @@
1111
#
1212
# /////////////////////////////////////////////////////////////////
1313

14+
PYTHON_VERSION="3.6"
15+
1416
if ! which pipenv
1517
then
1618
echo "Unable to detect a pipenv install. Please install with 'pip install pipenv' then repeat your build attempt." 1>&2
1719
exit 1
1820
fi
1921

2022
# install fontTools and fontmake build dependencies with pipenv
21-
pipenv install --ignore-pipfile fontmake fontTools
23+
pipenv install --python $PYTHON_VERSION --ignore-pipfile fontmake fontTools
2224

2325
# test for fontmake install in venv
2426
if ! pipenv run fontmake --version
@@ -47,6 +49,6 @@ pipenv graph
4749

4850
echo " "
4951
echo "================================="
50-
echo " END PYTHON BUILD ENVIRONMENT"
52+
echo " "
5153
echo "================================="
5254
echo " "

0 commit comments

Comments
 (0)