27da1c25da
Change-Id: Ib8f766ab17c0ef558a1eba82fea1bbd070500107
14 lines
354 B
Bash
Executable File
14 lines
354 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if ! python3 --version > /dev/null; then
|
|
echo "Python 3 not found, version 3.6 or newer is required for Bifrost"
|
|
exit 1
|
|
fi
|
|
|
|
if ! python3 -c "import sys; assert sys.version_info >= (3, 6)" 2> /dev/null; then
|
|
echo "Python 3.6 or newer is required for Bifrost"
|
|
exit 1
|
|
fi
|
|
|
|
PYTHONPATH=$(dirname $0) exec python3 -m bifrost.cli "$@"
|