Work-in-progress port of MzS Tools to QGIS 3.
-
Install pipenv
pip3 install pipenv --user
-
Clone or download repository
-
Install dependencies and create virtualenv
cd mzs-tools-qgis3 pipenv install --dev
-
Activate virtualenv
pipenv shell
-
Set your QGIS plugins folder in
pb_tool.cfg
plugin_path: /your/.local/share/QGIS/QGIS3/profiles/default/python/plugins
-
Use pb_tool
pb_tool validate pb_tool compile # deploy in the qgis plugin folder pb_tool deploy
-
On Ubuntu some packages should be installed:
sudo apt install python3-pip virtualenv python3-venv qttools5-dev-tools
-
Sphinx autodoc function likely requires to set the path to system libraries in
conf.py
:sys.path.insert(0, '/usr/lib/python3/dist-packages/') extensions = [..., 'sphinx.ext.autodoc']