Skip to content

Commit

Permalink
FEATURE: installation in Linux and MacOs works now
Browse files Browse the repository at this point in the history
  • Loading branch information
amilcarlucas committed May 13, 2024
1 parent a168d99 commit 3c2065d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,24 @@ Usage is detailed in the [USERMANUAL.md](USERMANUAL.md) file

## MS Windows Installation

Download the [latest MethodicConfiguratorSetup-x.x.x.exe installer file](https://github.com/ArduPilot/MethodicConfigurator/releases/tag/latest). Just install it and you do not need any other steps.
Download the [latest MethodicConfiguratorSetup-x.x.x.exe installer file](https://github.com/ArduPilot/MethodicConfigurator/releases/tag/latest).

Otherwise, install [git](https://git-scm.com/) and [python](https://www.python.org/downloads/). Then do:
## Linux Installation

Install [python pip](https://pypi.org/project/pip/). Then do:

```bash
git clone https://github.com/ArduPilot/MethodicConfigurator.git
cd MethodicConfigurator
.\install_windows.bat
pip install -U MethodicConfigurator
```

## Linux Installation
## MacOS Installation

Install [git](https://git-scm.com/) and [python](https://www.python.org/downloads/). Then do:

```bash
git clone https://github.com/ArduPilot/MethodicConfigurator.git
cd MethodicConfigurator
./install_linux.sh
./install_macos.sh
```

## Support and Contributing
Expand Down
19 changes: 19 additions & 0 deletions install_macos.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/bash

# Use venv if you use python3 due to the PEP668
python3 -m venv venv
source venv/bin/activate

# Uninstall serial and pyserial to avoid conflicts
python3 -m pip uninstall -y serial pyserial

# Install the project dependencies
python3 -m pip install .

echo "Installation complete."
echo ""
echo "You can run the ArduPilot methodic configurator GUI by executing:"
echo "cd MethodicConfigurator"
echo "python3 ./ardupilot_methodic_configurator.py"
echo ""
echo "For more detailed usage instructions, please refer to the USERMANUAL.md file."

0 comments on commit 3c2065d

Please sign in to comment.