ubarsc / tuiview

TuiView is a lightweight raster GIS with powerful raster attribute table manipulation abilities
http://tuiview.org/
GNU General Public License v2.0
26 stars 13 forks source link

Change pluginmanager to use importlib #23

Closed gillins closed 2 years ago

gillins commented 2 years ago

Currently uses imp which is now deprecated.

See https://docs.python.org/3/library/importlib.html#importing-a-source-file-directly Also will need to use https://docs.python.org/3/library/importlib.html#importlib.machinery.SOURCE_SUFFIXES rather than imp.get_suffixes().