activating/deactivating venv

This commit is contained in:
Jared-Bloomer
2024-08-26 16:16:18 -04:00
parent 05e2a8cd35
commit a5c968fe59
@@ -12,9 +12,11 @@ if ! command -v python3; then
exit 1 exit 1
else: else:
if [ -f /lsiopy/bin/python3 ]; then if [ -f /lsiopy/bin/python3 ]; then
source /lsiopy/bin/activate
/lsiopy/bin/python3 -m pip install --no-cache-dir slurpit_netbox /lsiopy/bin/python3 -m pip install --no-cache-dir slurpit_netbox
echo "Please update configuration.py to include " echo "Please update configuration.py to include "
echo "PLUGINS = ['slurpit_netbox']" echo "PLUGINS = ['slurpit_netbox']"
/lsiopy/bin/deactivate
else: else:
echo "/lsiopy/bin/python3 not found!" echo "/lsiopy/bin/python3 not found!"
exit 1 exit 1