Files
deb-python-dcos/cli/bin/create-binary.sh
tamarrow 77afc61fc6 only support python3 for creating binaries (#669)
Also explicitly use python3 in creating virtualenv for make commands.
2016-07-06 18:33:33 -07:00

17 lines
269 B
Bash
Executable File

#!/bin/bash -e
BASEDIR=`dirname $0`/..
cd $BASEDIR
if [ -f "$BASEDIR/env/bin/activate" ]; then
source $BASEDIR/env/bin/activate
else
$BASEDIR/env/Scripts/activate
fi
pip install pyinstaller==3.1.1
pyinstaller $BASEDIR/binary/binary.spec
deactivate