Be more explicit to ensure correct pyinstaller version is used
This commit is contained in:
parent
8291bb117f
commit
32b9506c13
@ -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
|
||||||
|
2
setup.sh
2
setup.sh
@ -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())')"
|
||||||
|
Loading…
Reference in New Issue
Block a user