dqrobotics / python

The DQ Robotics library in Python
https://dqrobotics.github.io
GNU Lesser General Public License v3.0
24 stars 9 forks source link

dqrobotics-python Python package PyPI version

The DQ Robotics library in Python

Refer to the docs

Dev Stuff

With the initial settings described below for each system, the actions_runner will pick up the correct version of Python and run the CI accordingly.

Setting up the self-hosted CI enviroment for Apple silicon

From 363627c, a self hosted machine for arm64 MacOS is no longer needed. The Github-hosted image is currently arm64 by default.

  1. Install brew
  2. Install the Python versions currently supported by DQRobotics e.g.
    brew install python@3.XX
  3. Add an alias for each Python version in your .zshrc, e.g. alias python3.XX='/opt/homebrew/bin/python3.XX'

Setting up the self-hosted CI enviroment for Ubuntu arm64

  1. Make sure you have the basic compilation enviroment

    sudo apt update && sudo apt upgrade -y
    sudo apt install git g++ cmake
  2. Add the deadsnakes PPA

    sudo add-apt-repository ppa:deadsnakes/ppa
  3. Run

    sudo apt update
  4. Install, for each Python version, the following

    sudo apt install python3.XX-dev python3.XX-venv python3.XX-distutils