Aggiunta attivazione/disattivazione venv.
This commit is contained in:
parent
47b8e0cf2a
commit
0215324bba
|
@ -11,10 +11,16 @@ if [[ ${retval} -ne 0 ]]; then
|
|||
# for the sake of consistency, let's make the check_updates.sh script
|
||||
# executable
|
||||
chmod +x check_updates.sh
|
||||
if [[ -d venv ]]; then
|
||||
source venv/bin/activate
|
||||
fi
|
||||
pip3 uninstall -y loaih
|
||||
# build the actual toolkit
|
||||
python3 setup.py bdist_wheel
|
||||
pip3 install dist/*.whl; rv=$?
|
||||
if [[ -d venv ]]; then
|
||||
deactivate
|
||||
fi
|
||||
|
||||
if [[ ${rv} -eq 0 ]]; then
|
||||
# cleanup
|
||||
|
|
Loading…
Reference in New Issue