Optional dependencies
Aim for minimum dependencies, where possible make them optional. Making your tools more robust.
If your qt tool works better with an additional qt-manager like BQt or unreal-qt, instead of adding it as a dependency, make it an optional dependency.
If your tool relies on icons for it’s buttons, fall back on text if the icons can’t be found. Avoiding situations such as: your tool still works but the icon’s don’t show. sample
- avoid the classic “it works on my pc“
PyPi supports optional dependencies. Letting you choose to install them during the pip install.