File indexing completed on 2024-12-08 06:37:32
0001 #!/usr/bin/env bash 0002 0003 set -ue 0004 0005 if ! [ -d "kapidox" ]; then 0006 echo "FATAL: this must be executed in the root directory of the kapidox project" 0007 exit 1 0008 fi 0009 0010 VENV=.kapidox_venv 0011 rm -rf $VENV 0012 python3 -m venv $VENV 0013 $VENV/bin/pip install --upgrade pip wheel 0014 $VENV/bin/pip install -r requirements.frozen.txt 0015 $VENV/bin/pip install --no-deps --editable . 0016 0017 echo "******************************************************************" 0018 echo "activate the development venv by running" 0019 echo " source $VENV/bin/activate" 0020 echo "******************************************************************"