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
Pierre Kancir
075c640404
Tools: fix archlinux install script
...
need setuptools on venv
2024-06-14 18:50:10 +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
Andrew Piper
c91a6fdba7
environment_install: fixup mac xcode install text
2024-02-28 19:17:00 +11:00
Jaaaky
9986fb9726
Tools: Add prerequisites install script for openSUSE Tumbleweed
...
Tried to make it as complete as compatible as possible with Ubuntu environment
Installing static libs for SITL_static
And gcc_arm-linux for Linux based boards
2024-02-17 08:56:49 +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
TsuyoshiKawamura
e0971c7d1a
Tools: make target directory before linking
2024-01-13 19:30:54 +11:00
Andrew Tridgell
8aaedccacc
Tools: install ppp in ubuntu
2024-01-03 12:14:47 +11:00
Peter Barker
575314d31e
Tools: mac: force install to avoid npm installation error
...
2023-12-11T23:04:39.8671350Z already exists. You may want to remove it:
2023-12-11T23:04:39.8679620Z rm '/usr/local/lib/node_modules/npm/node_modules/@npmcli/agent/lib/agents.js'
2023-12-11T23:04:39.8682240Z
2023-12-11T23:04:39.8691710Z To force the link and overwrite all conflicting files:
2023-12-11T23:04:39.8700070Z brew link --overwrite node@18
2023-12-11T23:04:39.8726220Z
2023-12-11T23:04:39.8736300Z To list all files that would be deleted:
2023-12-11T23:04:39.8744090Z brew link --overwrite --dry-run node@18
... also remove hack to force update to succeed
2023-12-12 15:02:58 +11:00
bugobliterator
273e0795d0
Tools: ignore the error from brew update
2023-12-10 18:52:11 +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
9e2b14ad36
Tools: as per archlinux wiki don't do partial upgrade
...
https://wiki.archlinux.org/title/System_maintenance#Upgrading_the_system
2023-09-07 07:48:31 +10: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
2b8a605fd2
Tools: use venv on Archlinux to fix install
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
Peter Barker
8b1a9cd6eb
Tools: reinstantiate MacOSX brew update call
...
this was temporarily removed to allow MacOSX to pass; github's repository seemed to be corrupt somehow
2023-07-11 13:27:42 +10:00
Peter Barker
5c71e21498
Tools: remove brew update
...
Some sort of repository corruption on the github side; see https://github.com/orgs/Homebrew/discussions/4612
2023-07-04 17:27:15 +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
30b87122e9
Tools: add script to make Bionic work with Python3
2023-05-09 11:09:25 +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
rbeall
743c64cb15
Tools: Update pyenv for new MacOS Clang13
...
https://bugs.python.org/issue45405
Version of pyenv 2.3.12 has patched most versions of python to properly compile with Mac clang 13. This version is required to properly install python on new machine.
2023-02-08 08:54:13 +11:00
Rhys Mainwaring
c7b969a8b7
Tools: Update ardupilot_gazebo install script
...
- Update prerequisites
- Update workspace and build order.
- Update GZ envs.
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2023-01-10 08:33:05 +09:00
bugobliterator
cf2d1ec290
Tools: fix CI error while building for macos
2023-01-08 11:48:33 +11:00
Sanket Sharma
20550d42a9
updated ardupilot_gazebo source and dependencies
2023-01-07 08:13:37 +09:00
Sanket Sharma
3a85f1152b
Tools: Add ardupilot_gazebo install script
...
Added ardupilot_gazebo package for simulation purposes
2023-01-07 08:13:37 +09: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
Peter Barker
5a429a9a79
github: macosx: remove github-installed Python symlinks in /usr/local/bin
...
installing packages fails as symlinks that brew wants to install already exist
https://github.com/orgs/Homebrew/discussions/3895
2022-12-26 14:14:38 +11:00
Peter Barker
73d1c28e23
Tools: macos-env: overwrite files when upgrading Python
...
the 3.10.8 to 3.10.9 upgrade is failing in CI
2022-12-22 14:58:21 +11:00
Joshua Henderson
cd49f3b6ba
Tools: cygwin install script add pexpect
2022-09-15 13:21:50 +10:00
Randy Mackay
049101580a
Tools: install-ROS-ubuntu.sh made executable
2022-09-14 12:17:47 +09:00
Patrick José Pereira
34be6fea77
Tools: Check if version exist before installing it
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2022-09-11 14:18:21 +10:00
Randy Mackay
1aec242079
Tools: install-ros-ubuntu points at ArduPilot repo
2022-09-09 11:03:54 +09:00
Jaime Machuca
6c5bb1c5b8
Tools: Add ROS and Ardupilot-ros environment install script
2022-09-06 11:57:00 +09: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