1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-09-11 17:15:34 +03:00

Use fresh venv

This commit is contained in:
Tae Won Ha 2024-05-28 16:49:46 +09:00
parent dfe6b3d30c
commit 56c9a4a8f4
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -22,10 +22,8 @@ declare -r -x GH_REPO="qvacua/vimr"
prepare_bin() {
pushd ./bin >/dev/null
if ! pyenv which python | grep -q "com.qvacua.VimR.bin"; then
echo "com.qvacua.VimR.bin virtualenv not set up!"
exit 1;
fi
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
popd >/dev/null