We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f371fb commit deead87Copy full SHA for deead87
dpdata/plugins/__init__.py
@@ -14,6 +14,9 @@
14
importlib.import_module(module_name, PACKAGE_BASE)
15
16
# https://setuptools.readthedocs.io/en/latest/userguide/entry_point.html
17
-eps = metadata.entry_points().get('dpdata.plugins', [])
+try:
18
+ eps = metadata.entry_points(group='dpdata.plugins')
19
+except TypeError:
20
+ eps = metadata.entry_points().get('dpdata.plugins', [])
21
for ep in eps:
22
plugin = ep.load()
0 commit comments