19 lines
427 B
Bash
Executable file
19 lines
427 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cd "$(dirname "$0")/.." || exit
|
|
|
|
if [ -n "$CONDA_PREFIX" ]; then
|
|
echo "It looks like you're in a conda environment. Skipping venv check."
|
|
else
|
|
if [ ! -d "venv" ]; then
|
|
echo "Venv doesn't exist! Please run start.sh instead."
|
|
exit 0
|
|
fi
|
|
|
|
echo "Activating venv"
|
|
|
|
# shellcheck source=/dev/null
|
|
source venv/bin/activate
|
|
fi
|
|
|
|
python3 start.py --update-deps --update-repository "$@"
|