Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

CNR-IGAG/mzs-tools-qgis3

Repository files navigation

Work-in-progress port of MzS Tools to QGIS 3.

Development setup

  • 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

Caveats

  • 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']

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published