Development Setup
Here you can find the recommended developemnt setup. The bpod-rig repository is shipped as a JetBrains PyCharm project.
Install UV
bpod-rig utilizes uv as its environment and development tools manager
Install uv using one of the methods described here: https://github.com/astral-sh/uv
Clone Repository
Clone the repository using the following command:
$ git clone https://github.com/sanworks/bpod-rig
or
$ git clone git@github.com:sanworks/bpod-rig
Move into the cloned repository
Checkout the dev branch
$ git checkout dev
Create Virtual Environment
Navigate into the cloned repository
Run the following command to create a virtual environment with all development dependencies
$ uv sync --group dev
(Optional) If it is desired to install the dependencies for building the documentation, use the following command instead
$ uv sync --group dev --group docs
or
$ uv sync --all-groups
Once complete there will be a new .venv folder containing an isolated Python installation and the desired dependencies
Open PyCharm Project
Start PyCharm and open the bpod-rig directory as a project
- Add the newly created .venv as the project interpreter
See Link here <https://www.jetbrains.com/help/pycharm/configuring-python-interpreter.html> for more information