1. Marinka Zitnik
  2. orange-nmf

Commits

Marinka Zitnik  committed 7d31e08

expose datasets

  • Participants
  • Parent commits a8ba165
  • Branches default

Comments (0)

Files changed (2)

File _nmf/__init__.py

View file
  • Ignore whitespace
+
+import pkg_resources
+
+def datasets():
+    yield ('nmf', pkg_resources.resource_filename(__name__, 'datasets'))

File setup.py

View file
  • Ignore whitespace
         'nmf = _nmf',
     ),
     'orange.widgets': (
-        'nmf = _nmf.widgets',
+        'NMF = _nmf.widgets',
     ),
     'orange.data.io.search_paths': (
         'nmf = _nmf:datasets',