Ripristinato setup per installazione in virtualenv come runtime.
This commit is contained in:
parent
9f8d9db228
commit
09f21c1f44
|
@ -1,2 +1,3 @@
|
|||
dist
|
||||
venv
|
||||
**/__pycache__
|
||||
|
|
|
@ -11,7 +11,18 @@ if [[ ${retval} -ne 0 ]]; then
|
|||
# for the sake of consistency, let's make the check_updates.sh script
|
||||
# executable
|
||||
chmod +x check_updates.sh
|
||||
# Updating the environment is left to hatch itself.
|
||||
|
||||
# Updating runtime
|
||||
if [[ -d venv ]]; then
|
||||
source venv/bin/activate
|
||||
fi
|
||||
pip3 uninstall -y loaih
|
||||
# build the actual toolkit
|
||||
python3 -m build --sdist
|
||||
pip3 install dist/*.tar.gz; rv=$?
|
||||
if [[ -d venv ]]; then
|
||||
deactivate
|
||||
fi
|
||||
|
||||
if [[ ${rv} -eq 0 ]]; then
|
||||
# cleanup
|
||||
|
|
Loading…
Reference in New Issue