Commits

mitar  committed 26cc539

Datasets hook.

  • Participants
  • Parent commits 1326389

Comments (0)

Files changed (2)

File _text/__init__.py

+import pkg_resources
+
+def datasets():
+    yield ('text', pkg_resources.resource_filename(__name__, 'datasets'))
     ),
     'orange.widgets': (
         'Text Mining = _text.widgets',
+        # This should be unneeded, because module given should load (register)
+        # all wanted widgets and prototypes should just have a flag, but for now ...
+        'Prototypes = _text.widgets.prototypes',
+    ),
+    'orange.data.io.search_paths': (
+        'text = _text:datasets',
     ),
 }