Miran Levar committed 50ed995


Comments (0)

Files changed (3)

+recursive-include _multitarget/datasets *


-from __future__ import absolute_import
+from pkg_resources import resource_filename
+def datasets():
+    yield ('multitarget', resource_filename(__name__, 'datasets'))
 import Orange
-from pkg_resources import resource_filename
 # Other algorithms which also work with multitarget data
 from Orange.regression import pls
 from Orange.regression import earth
 import binary
 import neural
-def datasets():
-    yield ('multitarget', resource_filename(__name__, 'datasets'))
 class MultitargetLearner(Orange.classification.Learner):
     Wrapper for multitarget problems that constructs independent models
     def __reduce__(self):
         return type(self), (self.classifiers,, dict(self.__dict__)
+if __name__ == '__main__':
+	a = resource_filename(__name__, 'datasets')
+	a = datasets()
+	print "done", a
     'Intended Audience :: Developers',
-print "*******",find_packages(exclude = ('*.tests', '*.tests.*', 'tests.*', 'tests'),)
 PACKAGES = find_packages(
     exclude = ('*.tests', '*.tests.*', 'tests.*', 'tests'),