- Generate a new project:
pyb --start-project
- List all possible commands:
pyb -t
- Build, test and analyze the project:
pyb
orpyb -v
for verbose output - Install all dependencies:
pyb install_build_dependencies
- Make to have Python installed
- Install PyBuilder:
pip3 install pybuilder
- Continue from the section "Creating PyBuilder Project" in the PyBuilder tutorial: https://pybuilder.io/documentation/tutorial
PS: You do not need to activate virtualenv (venv) for PyBuilder as mentioned in the tutorial. PyBuilder deals with venv itself.
After installing PyBuilder and completing the tutorial. Make sure to correctly set up your editor. Here is how you do with IntelliJ IDEA:
https://www.jetbrains.com/help/idea/configuring-local-python-interpreters.html
PS: IntelliJ IDEA isn't fully compatible with PyBuilder. You might receive warnings in IDEA on import
statements in your code. It's safe to ignore those warnings.