|
|
|
@ -23,7 +23,7 @@ path_conda="`realpath ~/comrad/lib/miniconda3`"
|
|
|
|
|
path_venv="`realpath ~/comrad/code/venv`"
|
|
|
|
|
path_repo="`realpath ~/comrad/code`"
|
|
|
|
|
|
|
|
|
|
source $path_conda/etc/profile.d/conda.sh
|
|
|
|
|
source "$path_conda/etc/profile.d/conda.sh"
|
|
|
|
|
# export PATH="$path_conda/Library/bin:$path_conda/Scripts:$path_conda:$PATH"
|
|
|
|
|
export PATH="$path_conda/bin:$PATH"
|
|
|
|
|
# export PATH="$path_lib/themis-master/build:/usr/local/bin:$PATH"
|
|
|
|
@ -31,6 +31,7 @@ export PATH="$path_conda/bin:$PATH"
|
|
|
|
|
|
|
|
|
|
conda activate $path_venv
|
|
|
|
|
|
|
|
|
|
echo "Python: `which python`"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# update?
|
|
|
|
@ -42,7 +43,5 @@ fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
python -m pip install -r $path_repo/requirements.txt -q
|
|
|
|
|
python $path_repo/comrad/app/main.py
|