Commits

Miha Stajdohar committed 7b5abf4

Updating setup.

Comments (0)

Files changed (1)

 #!/usr/bin/env python
 
-import distribute_setup
-distribute_setup.use_setuptools()
+try:
+    import distribute_setup
+    distribute_setup.use_setuptools()
+except ImportError:
+    # For documentation we load setup.py to get version
+    # so it does not matter if importing fails
+    pass
 
 import os
 
-from setuptools import setup, find_packages
+NAME = 'Orange-ModelMaps'
+DOCUMENTATION_NAME = 'Orange Model Maps'
 
-NAME = 'Orange-ModelMaps'
+VERSION = '0.1b'
 
-VERSION = '0.1a'
-
-DESCRIPTION = 'Orange Model Maps (space of prediction models) add-on for Orange data mining software package.'
-LONG_DESCRIPTION = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
+DESCRIPTION = '¸Orange Model Maps (space of prediction models) add-on for Orange data mining software package.'
+LONG_DESCRIPTION  = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
 AUTHOR = 'Miha Stajdohar, FRI UL'
 AUTHOR_EMAIL = 'miha.stajdohar@gmail.com'
 URL = 'http://orange.biolab.si/addons/'
     'machine learning',
     'artificial intelligence',
     'meta learning',
+    'orange',
+    'orange add-on',
 )
 
 CLASSIFIERS = (
-    'Development Status :: 1 - Beta',
+    'Development Status :: 4 - Beta',
     'Environment :: X11 Applications :: Qt',
     'Environment :: Console',
     'Environment :: Plugins',
     'Programming Language :: Python',
-    'Framework :: Orange',
     'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
     'Operating System :: OS Independent',
     'Topic :: Scientific/Engineering :: Artificial Intelligence',
 }
 
 SETUP_REQUIRES = (
-    'distribute',
+    'setuptools',
 )
 
 INSTALL_REQUIRES = (
+    'numpydoc',
     'Orange',
-    'distribute',
+    'setuptools',
     'numpy',
     'PIL',
     'networkx',
     ),
     'orange.widgets': (
         'Model Maps = _modelmaps.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 = _modelmaps.widgets.prototypes',
     ),
 }