mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 20:02:15 +00:00
12 lines
232 B
Bash
12 lines
232 B
Bash
#!/bin/bash
|
|
|
|
py_version="$(python -c 'import sys; print(sys.version_info[0])')"
|
|
|
|
if [ "$py_version" == 2 ]; then
|
|
source /srv/zulip-venv/bin/activate
|
|
else
|
|
source /srv/zulip-py3-venv/bin/activate
|
|
fi
|
|
|
|
echo "Using $VIRTUAL_ENV"
|