more mlat install changes (python venv is somewhat annoying)
This commit is contained in:
parent
a870b37007
commit
b8afa6ee3c
1 changed files with 5 additions and 12 deletions
17
setup.sh
17
setup.sh
|
|
@ -205,19 +205,12 @@ fi
|
|||
sleep 0.25
|
||||
|
||||
|
||||
MLAT_FAIL="false"
|
||||
rm "$VENV" -rf
|
||||
/usr/bin/python3 -m venv $VENV >> $LOGFILE 2>&1 || MLAT_FAIL="true"
|
||||
echo 36
|
||||
source $VENV/bin/activate >> $LOGFILE 2>&1 || MLAT_FAIL="true"
|
||||
echo 38
|
||||
python3 setup.py build >> $LOGFILE 2>&1 || MLAT_FAIL="true"
|
||||
echo 40
|
||||
python3 setup.py install >> $LOGFILE 2>&1 || MLAT_FAIL="true"
|
||||
|
||||
if [[ $MLAT_FAIL == "false" ]]; then
|
||||
git rev-parse HEAD > $IPATH/mlat_version
|
||||
fi
|
||||
/usr/bin/python3 -m venv $VENV >> $LOGFILE 2>&1 && echo 36 \
|
||||
&& source $VENV/bin/activate >> $LOGFILE 2>&1 && echo 38 \
|
||||
&& python3 setup.py build >> $LOGFILE 2>&1 && echo 40 \
|
||||
&& python3 setup.py install >> $LOGFILE 2>&1 \
|
||||
&& git rev-parse HEAD > $IPATH/mlat_version
|
||||
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue