Ryan Friedman
1e7cd71ad6
Tools: Add astyle dependency
...
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-12 13:01:32 +11:00
Ryan Friedman
057215b719
Tools: Add wsproto to ubuntu python deps
...
* Used in pymavlink to add websocket output
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
2024-11-09 09:52:28 +11:00
ARg
04ee66bec4
Tools/environment_install: print how to activate venv if not default
2024-09-23 19:24:33 +10:00
Ryan Friedman
86f51ee5a4
Tools: Remove bionic support for ubuntu setup
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-09-17 22:11:22 +10:00
Ryan Friedman
d18a2b22f9
Tools: Give ardupilot venv access to system packages
...
* When possible, we can use the apt-installed python packages which are
ABI stable
* Same for the other OS's that have VENV setup scripts
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-09-10 15:11:00 +10:00
Ryan Friedman
d4a62f22e2
Tools: Use apt for pexpect
...
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2024-09-10 15:11:00 +10:00
Holden
045059580c
Tools: Translate Linux Mint Wilma to Noble
2024-08-27 11:59:53 +10:00
Peter Barker
eadc7c0ecc
Tools: install_prereqs_ubuntu.sh: pin setuptools to avoid problems on Focal
...
focal: return Version(version)
focal: File "/home/vagrant/.local/lib/python3.8/site-packages/packaging/version.py", line 202, in __init__
focal: raise InvalidVersion(f"Invalid version: '{version}'")
focal: packaging.version.InvalidVersion: Invalid version: '1.0.3.linux-x86_64'
2024-07-29 15:27:23 +10:00
Peter Barker
07599ba570
Tools: environment_install: install Python packages one-at-a-time
...
helps to work out which packages are causing problems
2024-07-29 15:27:23 +10:00
Ben Butterworth
0a9a8d9178
Tools: install-prereqs-ubuntu.sh: fix script after setuptools==71.0.0 release
...
Use newest `packaging` to avoid packaging incompatibility with `setuptools>=71.0`
As https://github.com/pypa/setuptools/issues/4496#issuecomment-2240322375 mentions:
> setuptools>=71.0 does not work with packaging<24.0, but will not upgrade it if packaging is already installed
Also relevant: https://github.com/pypa/setuptools/issues/4496
2024-07-23 13:22:04 +10:00
Alex Burka
dcf41cfe81
docker: fix docker detection in install-prereqs-ubuntu.sh
...
The standard "are we in docker" checks don't seem to work during a
build, so just use an environment variable.
2024-05-29 08:31:11 +09:00
Peter Barker
4320063bd6
Tools: install-prereqs-ubuntu.sh: add support for Ubuntu Noble (24.04)
2024-05-08 21:27:12 +10:00
yuri-rage
12c3391ac2
Tools: install Debian 12 prereqs
2024-03-12 22:06:57 +11:00
Richard Marko
04b46678a4
treewide: fix shebangs - /bin/bash -> /usr/bin/env bash
...
Most scripts/tools use non-portable `/bin/bash`, switch
to environment agnostic `/usr/bin/env bash`.
2024-02-13 11:36:23 +11:00
Andrew Tridgell
8aaedccacc
Tools: install ppp in ubuntu
2024-01-03 12:14:47 +11:00
Peter Barker
576dc9d05f
Tools: clamp empy to version 3
...
API and syntax hanges make 4 problematic
2023-12-03 17:08:00 +11:00
Pierre Kancir
aaa56699dd
Tools: add junitparser to default install
...
skip-checks: true
2023-11-22 18:32:19 +11:00
Peter Barker
f5d4122959
Tools: adjust install_prereqs_ubuntu.sh to handle Mantic
2023-10-16 09:12:42 +11:00
Pierre Kancir
875f834e93
Tools: remove bionic fixed package as we move to py3
2023-08-23 17:15:56 +10:00
Pierre Kancir
69a42cafb3
Tools: update pip as part of install to prevent issues
2023-08-23 17:15:56 +10:00
Pierre Kancir
e9bcf3b8df
Tools: disable pip install progress bar on github action
2023-08-23 17:15:56 +10:00
Pierre Kancir
be74f7b480
Tools: switch bionic to python3 to fix install
2023-08-23 17:15:56 +10:00
Ryan Friedman
08cd651bc3
Tools: Install the right serial module for Ubuntu lunar
...
* It's used in the firmware uploader.py script
* And a quick modification to reduce code duplication
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-17 08:36:55 +10:00
Ryan Friedman
2d68e1f40d
Tools: Add missing GNU screen that's required for autotest
...
* Tools/autotest/pysim/util.py requires screen for GDB; it doens't support any other terminal types
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-08-06 07:18:46 +10:00
Peter Barker
da2a3c4fca
Tools: install valgrind as part of Ubuntu environment setup
2023-07-29 11:29:41 +10:00
Pierre Kancir
50525206d5
Tools: apt install python-wxgtk on Lunar as pip install is hard to manage
2023-05-18 07:54:10 +10:00
Pierre Kancir
5e32a04c72
Tools: update setuptools and wheel before pip install pkgs
...
This allow to get precompiled package from pip depot instead of trying to compile them and failed without all dependencies
2023-05-18 07:54:10 +10:00
Pierre Kancir
372209649c
Tools: move Debian Buster to python3
2023-05-18 07:54:10 +10:00
Pierre Kancir
39eb7072e1
Tools: install wheel as part of setup
...
Simplify wx installation
2023-05-18 07:54:10 +10:00
Peter Barker
12ccc15d90
Tools: install_prereqs_ubuntu: allow for Lunar install
...
notably we have to use a venv now-adays
2023-05-03 17:13:20 +10:00
Nicholas Kruzan
522f480b2d
Tools: add jolnir on install script
...
Allow to install dev environment on distros that have 'jolnir' as release name
2023-03-20 19:25:01 -07:00
WillyZehnder
b64cec7e36
Tools:environment_install:install-prereqs-ubuntu.sh: Mint to Ubuntu
...
translate Mint-codenames to Ubuntu-codenames
2023-01-05 08:30:42 +11:00
Pierre Kancir
b6a5eb064c
Tools: make hirsute and impish support EOL for env install and vagrant.
2022-08-31 17:07:03 +10:00
Pierre Kancir
d821ec549f
Tools: add dronecan to install scripts
2022-08-26 17:20:45 +10:00
Pierre Kancir
99ef5f5957
Tools: create an ardupilot entrypoint instead of hacking .bashrc on docker
2022-07-13 18:45:44 +10:00
Pierre Kancir
2b4a68fdbe
CI: remove xenial from env config
2022-07-06 18:06:47 +10:00
Pierre Kancir
ba9c72f1a3
Tools: use lastest python2 release for requests for pyhton2 distro
2022-07-06 18:06:47 +10:00
Pierre Kancir
d2abd1eed9
Tools: fix configparser version for python2
2022-07-06 18:06:47 +10:00
Pierre Kancir
d768462155
Tools: env install: use dot for wget to reduce terminal usage
2022-07-06 18:06:47 +10:00
Pierre Kancir
1b4a7b5adf
Tools: fix env install for bionic
2022-07-06 18:06:47 +10:00
Pierre Kancir
a6f32e1a24
Tools: Fix install script for various distro
...
remove disco and eoan that aren't working anymore.
fix buster, bionic and xenial that use python and not python2
2022-07-06 18:06:47 +10:00
Pierre Kancir
1090a881b0
Tools: environment_install: set python3 as default on ubuntu
2022-05-17 09:27:03 +10:00
kenking2536
5e528ba7a1
Tools: install aarch64 ARM compiler if required
...
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2022-05-14 21:14:53 +10:00
Andrew Tridgell
b9366c50c8
Tools: treat brltty like modemmanager
...
on Ubuntu 22.04 brltty prevents use of serial radios
2022-05-03 10:09:12 +10:00
Pierre Kancir
e704e84bf9
Tools: fix package install on Python2
2022-03-22 09:08:06 +11:00
Andrew Tridgell
452121eca1
Tools: fixed env install for ubuntu 22.04
2022-03-07 11:58:20 +11:00
Peter Barker
8ae1a58eae
Tools: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
2021-11-15 20:27:40 +11:00
bugobliterator
99b53055ce
Tools: include install empy as prerequisite
2021-10-14 20:13:06 +11:00
Nicholas Kruzan
42c27533c6
Tools: add debian11 (bullseye) on install script
2021-10-07 10:05:04 +11:00
Pierre Kancir
6168bc3e63
Tools: used fixed version pip package for python2
2021-10-07 10:05:04 +11:00