Add a check for the python version in the scripts
This commit is contained in:
parent
43004a8570
commit
a208dc87ee
2 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
python3 -c 'import sys;(print("Python 3.4 or newer is required") and exit(1)) if sys.version_info < (3, 4) else exit(0)' || exit 1
|
||||
poezio_dir=$(dirname "$0")
|
||||
VENV="poezio-venv"
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
# Use launch.sh to start poezio directly from here
|
||||
|
||||
python3 -c 'import sys;(print("Python 3.4 or newer is required") and exit(1)) if sys.version_info < (3, 4) else exit(0)' || exit 1
|
||||
cd "$(dirname "$0")"
|
||||
VENV="poezio-venv"
|
||||
VENV_COMMAND="pyvenv"
|
||||
|
|
Loading…
Reference in a new issue