Remove deprecated pkg_resources
importlib-metadata; python_version<"3.8"
if sys.version_info < (3, 8):
from importlib_metadata import entry_points
else:
from importlib.metadata import entry_points
Edited by Wout De Nolf
importlib-metadata; python_version<"3.8"
if sys.version_info < (3, 8):
from importlib_metadata import entry_points
else:
from importlib.metadata import entry_points