ZmEventNotification: how to use a python virtual environment instead of system python
Posted: Sat Aug 17, 2024 11:19 am
Hello to all,
I've googled around but I've not found anything relevant: in case it was right beneath my eyes, I'm sorry.
I'd like to install zmeventnotification in such a way it can use a custom python virtual environment (with all the packets ZM ES needs) instead of the default system-wide installation of python.
I've noticed that the first two lines of install.sh are:
I was wondering whether it would be enough to hard edit the two variables to the path to a custom virtual environment. Is there anything else that should be edited and I'm not aware of?
Thank you in advance
I've googled around but I've not found anything relevant: in case it was right beneath my eyes, I'm sorry.
I'd like to install zmeventnotification in such a way it can use a custom python virtual environment (with all the packets ZM ES needs) instead of the default system-wide installation of python.
I've noticed that the first two lines of install.sh are:
Code: Select all
PYTHON=${PYTHON:-python3}
PIP=${PIP:-pip3}
Thank you in advance