mirror of
https://github.com/mavlink/mavlink.git
synced 2026-06-19 07:35:34 +00:00
script: skip pymavlink install
This commit is contained in:
committed by
Lorenz Meier
parent
5e2996cb1a
commit
1da54d95ed
+1
-16
@@ -16,21 +16,6 @@ cd "$SRC_DIR"
|
||||
./scripts/format_xml.sh -c
|
||||
echo PASS
|
||||
|
||||
# install
|
||||
echo $sep
|
||||
echo "PYMAVLINK INSTALL"
|
||||
echo $sep
|
||||
cd "$SRC_DIR"
|
||||
|
||||
user_arg="--user"
|
||||
if [ "$TRAVIS" = true ] || [ "$CI" = true ]
|
||||
then
|
||||
user_arg=""
|
||||
fi
|
||||
pip install $user_arg -r pymavlink/requirements.txt
|
||||
cd "$SRC_DIR/pymavlink"
|
||||
python setup.py build install $user_arg
|
||||
|
||||
generate_mavlink() {
|
||||
echo $sep
|
||||
echo "GENERATING MAVLINK " \
|
||||
@@ -38,7 +23,7 @@ generate_mavlink() {
|
||||
echo "DEFINITION : " "$msg_def"
|
||||
echo $sep
|
||||
outdir="/tmp/mavlink_${wire_protocol}_${lang}"
|
||||
mavgen.py --lang="${lang}" \
|
||||
pymavlink/tools/mavgen.py --lang="${lang}" \
|
||||
--wire-protocol "${wire_protocol}" \
|
||||
--strict-units \
|
||||
--output="${outdir}" "${msg_def}"
|
||||
|
||||
Reference in New Issue
Block a user