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

Fix entry points and minify_json imports #59

Closed danilobellini closed 1 year ago

danilobellini commented 1 year ago

Since top-level __init__.py doesn't import the modules with the run method called by entry points, the position of the colon (:) and dot (.) were giving an error while attempting to call the entry points.

Importing minify_json directly doesn't work in Python 3, either a leading dot (for relative import) or from tuiview.minify_json import ... (for absolute import) should be used instead.

This comes from a patch I had to apply to package tuiview in AUR.

gillins commented 1 year ago

Thanks @danilobellini ! I'll try and get a new release out soon.