mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-11 13:10:45 +00:00
updates
This commit is contained in:
parent
01b04d3967
commit
5d8e5df7c7
@ -105,19 +105,25 @@ esac
|
|||||||
#echo ${machine}
|
#echo ${machine}
|
||||||
|
|
||||||
if [ "$machine" = "Linux" ]
|
if [ "$machine" = "Linux" ]
|
||||||
|
then
|
||||||
|
if [ ! -f "miniconda.sh" ]
|
||||||
then
|
then
|
||||||
curl https://repo.anaconda.com/miniconda/Miniconda3-py37_4.8.3-Linux-x86_64.sh -o miniconda.sh
|
curl https://repo.anaconda.com/miniconda/Miniconda3-py37_4.8.3-Linux-x86_64.sh -o miniconda.sh
|
||||||
chmod +x miniconda.sh
|
chmod +x miniconda.sh
|
||||||
|
fi
|
||||||
./miniconda.sh -b -f -p "$path_conda"
|
./miniconda.sh -b -f -p "$path_conda"
|
||||||
rm miniconda.sh
|
#rm miniconda.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$machine" = "Mac" ]
|
if [ "$machine" = "Mac" ]
|
||||||
|
then
|
||||||
|
if [ ! -f "miniconda.sh" ]
|
||||||
then
|
then
|
||||||
curl https://repo.anaconda.com/miniconda/Miniconda3-py37_4.8.3-MacOSX-x86_64.sh -o miniconda.sh
|
curl https://repo.anaconda.com/miniconda/Miniconda3-py37_4.8.3-MacOSX-x86_64.sh -o miniconda.sh
|
||||||
chmod +x miniconda.sh
|
chmod +x miniconda.sh
|
||||||
|
fi
|
||||||
./miniconda.sh -b -f -p "$path_conda"
|
./miniconda.sh -b -f -p "$path_conda"
|
||||||
rm miniconda.sh
|
# rm miniconda.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$machine" = "Cygwin" ]
|
if [ "$machine" = "Cygwin" ]
|
||||||
@ -131,32 +137,14 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
./miniconda.exe -b -f -p "$path_conda"
|
./miniconda.exe -b -f -p "$path_conda"
|
||||||
rm miniconda.exe
|
# rm miniconda.exe
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# activate conda
|
# activate conda
|
||||||
|
|
||||||
# >>> conda initialize >>>
|
|
||||||
# !! Contents within this block are managed by 'conda init' !!
|
|
||||||
__conda_setup="$('$path_conda/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
eval "$__conda_setup"
|
|
||||||
else
|
|
||||||
if [ -f "$path_conda/etc/profile.d/conda.sh" ]; then
|
|
||||||
. "/home/op/komrade/lib/miniconda3/etc/profile.d/conda.sh"
|
|
||||||
else
|
|
||||||
export PATH="$path_conda/bin:$PATH"
|
export PATH="$path_conda/bin:$PATH"
|
||||||
fi
|
condaexec="conda"
|
||||||
fi
|
pythonexec="python"
|
||||||
unset __conda_setup
|
|
||||||
# <<< conda initialize <<<
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
condaexec="$path_conda/bin/conda"
|
|
||||||
pythonexec="$path_conda/bin/python"
|
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user