QGIS plugin for cityseer-api
- Install
brew
packages perbrew install qt5 pyqt pdm qgis
- Install pythong packages per
pdm install
- Add a
.env
file invscode
adding QGIS to the python path (per system QGIS location):
PYTHONPATH="${env:PYTHONPATH}:/Applications/Qgis.app/Contents/Resources/python/plugins:/Applications/Qgis.app/Contents/Resources/python"
- Create a softlink from the dev plugin folder to the QGIS plugins directory, this is system specific, e.g.:
ln -s /Users/gareth/dev/benchmark-urbanism/cityseer-qgis/cityseer-qgis /Users/gareth/Library/Application\ Support/QGIS/QGIS3/profiles/default/python/plugins
QGIS doesn't yet support automatic third party package installation, so cityseer
has to be installed manually for the time being:
/Applications/QGIS.app/Contents/MacOS/bin/pip install cityseer