Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.36 KB

File metadata and controls

38 lines (25 loc) · 1.36 KB

Contributing to pybricksdev

pybricksdev is open source software and we welcome contributions.

Developer environment

This is the preferred workflow that we support. If you have other tools you like to use, you are welcome to use them, but we can't help you if things go wrong.

Prerequisites

Get the code and setup the environment

After installing the prerequisites, use a command prompt in the location of your choice to run the following:

git clone https://github.com/pybricks/pybricksdev
cd pybricksdev
poetry env use python3.8
poetry install
code .

On Windows, you may need to use the full path to python3.8 (run py -0p to find it).

You will need to tell VS Code to use .venv as the Python interpreter. It should ask you about this the first time you open the project folder.

You should also opt into the DeprecatePythonPath experiment for the Microsoft Python VS Code extension so that it does not modify the .vscode/settings.json file in the project when you select the interpreter.