diff --git a/orangecanvas/application/utils/addons.py b/orangecanvas/application/utils/addons.py index dbce16d6..14e6f80c 100644 --- a/orangecanvas/application/utils/addons.py +++ b/orangecanvas/application/utils/addons.py @@ -27,7 +27,7 @@ from orangecanvas import config from orangecanvas.utils import unique from orangecanvas.utils.pkgmeta import ( - parse_meta, Distribution, get_distribution + parse_meta, normalize_name, Distribution, get_distribution ) from orangecanvas.utils.shtools import create_process, python_process @@ -38,10 +38,6 @@ B = TypeVar("B") -def normalize_name(name): - return re.sub(r"[-_.]+", "-", name).lower() - - def prettify_name(name): dash_split = name.split('-') # Orange3-ImageAnalytics => ImageAnalytics