Create a virtual environment activate it and install needed dependencies with the following commands:
python create_qgis_venv.py
.venv\Scripts\activate # On Linux and macOS run `source .venv\bin\activate`
pip install -r requirements-dev.txt
For more detailed development instructions see development.
A symbolic link / directory junction should be made to the directory containing the installed plugins pointing to the dev plugin package.
On Windows Command promt
mklink /J %AppData%\QGIS\QGIS3\profiles\default\python\plugins\arho_feature_template .\arho_feature_template
On Windows PowerShell
New-Item -ItemType SymbolicLink -Path ${env:APPDATA}\QGIS\QGIS3\profiles\default\python\plugins\arho_feature_template -Value ${pwd}\arho_feature_template
On Linux
ln -s arho_feature_template/ ~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/arho_feature_template
After that you should be able to enable the plugin in the QGIS Plugin Manager.
On VS Code use the workspace arho-feature-template.code-workspace. The workspace contains all the settings and extensions needed for development.
Select the Python interpreter with Command Palette (Ctrl+Shift+P). Select Python: Select Interpreter
and choose
the one with the path .venv\Scripts\python.exe
.
This plugin is distributed under the terms of the GNU General Public License, version 2 license.
See LICENSE for more information.