[GRASS-git] [OSGeo/grass-addons] 6b19ef: wxGUI/wx.metadata: lazy import of non standard py ...

Tomas Zigo noreply at github.com
Wed Jan 13 22:21:25 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass-addons
  Commit: 6b19ef86b0e88dddf52d8868ee3c022e7c7b8593
      https://github.com/OSGeo/grass-addons/commit/6b19ef86b0e88dddf52d8868ee3c022e7c7b8593
  Author: Tomas Zigo <50632337+tmszi at users.noreply.github.com>
  Date:   2021-01-14 (Thu, 14 Jan 2021)

  Changed paths:
    M grass7/gui/wxpython/wx.metadata/config/init_md.txt
    M grass7/gui/wxpython/wx.metadata/db.csw.admin/db.csw.admin.py
    M grass7/gui/wxpython/wx.metadata/db.csw.harvest/db.csw.harvest.py
    M grass7/gui/wxpython/wx.metadata/db.csw.run/db.csw.run.py
    M grass7/gui/wxpython/wx.metadata/g.gui.cswbrowser/g.gui.cswbrowser.py
    M grass7/gui/wxpython/wx.metadata/g.gui.metadata/g.gui.metadata.py
    M grass7/gui/wxpython/wx.metadata/m.csw.update/m.csw.update.py
    M grass7/gui/wxpython/wx.metadata/mdlib/Makefile
    M grass7/gui/wxpython/wx.metadata/mdlib/cswlib.py
    M grass7/gui/wxpython/wx.metadata/mdlib/cswutil.py
    M grass7/gui/wxpython/wx.metadata/mdlib/dependency.py
    M grass7/gui/wxpython/wx.metadata/mdlib/mdeditorfactory.py
    M grass7/gui/wxpython/wx.metadata/mdlib/mdgrass.py
    M grass7/gui/wxpython/wx.metadata/mdlib/mdjinjaparser.py
    M grass7/gui/wxpython/wx.metadata/mdlib/mdpdffactory.py
    M grass7/gui/wxpython/wx.metadata/mdlib/mdpdftheme.py
    M grass7/gui/wxpython/wx.metadata/mdlib/mdutil.py
    M grass7/gui/wxpython/wx.metadata/r.info.iso/r.info.iso.py
    M grass7/gui/wxpython/wx.metadata/t.info.iso/t.info.iso.py
    M grass7/gui/wxpython/wx.metadata/v.info.iso/v.info.iso.py

  Log Message:
  -----------
  wxGUI/wx.metadata: lazy import of non standard py modules (#402)

* remove coding from script header

* lazy import of 'jinja', 'lxml', 'owslib', 'pycsw', 'pyexcel_ods3', 'pygments', 'reportlab', 'sqlalchemy', 'validator'

* add checking, if 'tgis' var exist before class instance destruct

* remove redundant 'mkdir' command '-p' flag from mdlib Makefile

* handle error message 'Unsupported temporal database: version mismatch.'




More information about the grass-commit mailing list