diff --git a/publish.sh b/publish.sh index e7efa20..6d8f20e 100755 --- a/publish.sh +++ b/publish.sh @@ -68,10 +68,9 @@ type="$(find_type $build_type)" version="$(find_version $build_type)" arch="$(find_arch)" -source .venv/bin/activate -pip3 install pyinstaller +.venv/bin/pip3 install pyinstaller rm -rf dist/ -pyinstaller -y precise.stream.spec +.venv/bin/pyinstaller -y precise.stream.spec out_file=dist/precise-stream.tar.gz cd dist diff --git a/setup.sh b/setup.sh index af1f9dd..c3875b3 100755 --- a/setup.sh +++ b/setup.sh @@ -27,7 +27,7 @@ pip=.venv/bin/pip if [ ! -f "$pip" ]; then 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 arch="$(python3 -c 'import platform; print(platform.machine())')"