We welcome all contributions, bug reports, and suggestions!
To install the latest version from this repository, follow these steps:
- Install Kart
- Clone this repository using
git clone
.
$ git clone https://github.com/koordinates/kart-qgis-plugin.git
- Create a link between the repository folder and the QGIS 3 plugins folder.
$ cd kart-qgis-plugin
$ python helper.py install
- Start QGIS and you will find the plugin in the plugins menu. If it's not available yet, activate it in the QGIS Plugin Manager.
To package the plugin, suitable for installing into QGIS:
$ python helper.py package
A kart.zip
file is generated in the repo root.
Continuous integration builds an plugin package for every commit, artifacts are available to download.
We use Black to ensure consistent code formatting. We recommend integrating black with your editor:
- Sublime Text: install sublack via Package Control
- VSCode instructions
We use the default settings, and target python 3.7+.
One easy solution is to install pre-commit, run pre-commit install --install-hooks
and it'll automatically validate your changes code as a git pre-commit hook.