Be more explicit to ensure correct pyinstaller version is used

This commit is contained in:
Matthew D. Scholefield 2018-02-26 17:08:57 -06:00
parent 8291bb117f
commit 32b9506c13
2 changed files with 3 additions and 4 deletions

View File

@ -68,10 +68,9 @@ type="$(find_type $build_type)"
version="$(find_version $build_type)" version="$(find_version $build_type)"
arch="$(find_arch)" arch="$(find_arch)"
source .venv/bin/activate .venv/bin/pip3 install pyinstaller
pip3 install pyinstaller
rm -rf dist/ rm -rf dist/
pyinstaller -y precise.stream.spec .venv/bin/pyinstaller -y precise.stream.spec
out_file=dist/precise-stream.tar.gz out_file=dist/precise-stream.tar.gz
cd dist cd dist

View File

@ -27,7 +27,7 @@ pip=.venv/bin/pip
if [ ! -f "$pip" ]; then if [ ! -f "$pip" ]; then
python3 -m venv .venv/ --without-pip python3 -m venv .venv/ --without-pip
curl https://bootstrap.pypa.io/get-pip.py | .venv/bin/python curl https://bootstrap.pypa.io/get-pip.py | $python
fi fi
arch="$(python3 -c 'import platform; print(platform.machine())')" arch="$(python3 -c 'import platform; print(platform.machine())')"