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
nkruzan
dbe673e81c
Tools:install-prereqs-ubuntu.sh use $APT_GET for pkg-config
...
While writing a script to automate dev env install locally I notice this is not abiding by the $ASSUME_YES like the other apt-get install commands.
2021-09-30 14:49:09 +10:00
Andrew Tridgell
243dc06fd4
Tools: switched development to the 10.2.1 compiler for STM32
2021-07-27 19:50:21 +10:00
Pierre Kancir
712d812f4e
Tools: install-preresq-ubuntu: add check for DO_AP_STM_ENV before adding to path
...
This prevent to have /opt//bin on PATH if we don't want STM toolchain
2021-07-02 11:32:39 +10:00
Andrew Tridgell
843f87d618
Tools: install geocoder
2021-06-29 15:41:26 +10:00
Vladimir Ermakov
50641e8f7c
Tools: add Ubuntu 21.04 to environment setup script
...
Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
2021-04-29 12:37:03 +10:00
WillyZehnder
9a8a20f1d2
Tools: environment_install: support Mint 20.1 Ulyssa
...
Support for Linux Mint 20.1 Ulyssa (currently last version)
based on Ubuntu 20.04 Focal implemented
2021-03-20 10:02:56 +11:00
Pierre Kancir
311a4ed0c7
Tools: correct package_is_installed check
2021-03-17 21:32:30 +11:00