Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

Commit

Permalink
Merge pull request #686 from gamechanger/ay-python
Browse files Browse the repository at this point in the history
fix(create_binaries): pin python version
  • Loading branch information
Alex Young authored Jan 14, 2019
2 parents e4432af + 259fa40 commit 2ad3c74
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup/create_binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
set -e
venv_name=venv
rm -rf $venv_name
virtualenv $venv_name
if [[ $(/usr/bin/python --version 2>&1) =~ .*2\.7.* ]]; then # --version outputs to stderr
virtualenv --python=/usr/bin/python $venv_name
else
virtualenv $venv_name
fi
$venv_name/bin/pip install pyinstaller==3.4
$venv_name/bin/pip install .
$venv_name/bin/pyinstaller -F --runtime-hook=setup/binary-hook.py setup/dusty.spec
Expand Down

0 comments on commit 2ad3c74

Please sign in to comment.