source: orange-reliability/setup.py @ 0:55e4bdcfe4e3

Revision 0:55e4bdcfe4e3, 3.0 KB checked in by Matija Polajnar <matija.polajnar@…>, 2 years ago (diff)

Initial version as moved from main Orange. Without documentation.

Line 
1#!/usr/bin/env python
2
3try:
4    import distribute_setup
5    distribute_setup.use_setuptools()
6except ImportError:
7    # For documentation we load setup.py to get version
8    # so it does not matter if importing fails
9    pass
10
11import os
12
13from setuptools import setup, find_packages
14
15NAME = 'Orange-Reliability'
16DOCUMENTATION_NAME = 'Orange Reliability'
17
18VERSION = '0.1'
19
20DESCRIPTION = 'Orange Reliability add-on for Orange data mining software package.'
21LONG_DESCRIPTION = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
22AUTHOR = 'Bioinformatics Laboratory, FRI UL'
23AUTHOR_EMAIL = 'contact@orange.biolab.si'
24URL = 'http://orange.biolab.si/addons/'
25DOWNLOAD_URL = 'https://bitbucket.org/biolab/orange-reliability/downloads'
26LICENSE = 'GPLv3'
27
28KEYWORDS = (
29    'data mining',
30    'machine learning',
31    'artificial intelligence',
32    'reliability',
33    'orange',
34    'orange add-on',
35)
36
37CLASSIFIERS = (
38    'Development Status :: 4 - Beta',
39    'Environment :: X11 Applications :: Qt',
40    'Environment :: Console',
41    'Environment :: Plugins',
42    'Programming Language :: Python',
43    'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
44    'Operating System :: OS Independent',
45    'Topic :: Scientific/Engineering :: Artificial Intelligence',
46    'Topic :: Scientific/Engineering :: Visualization',
47    'Topic :: Scientific/Engineering :: Bio-Informatics',
48    'Topic :: Software Development :: Libraries :: Python Modules',
49    'Intended Audience :: Education',
50    'Intended Audience :: Science/Research',
51    'Intended Audience :: Developers',
52)
53
54PACKAGES = find_packages(
55    exclude = ('*.tests', '*.tests.*', 'tests.*', 'tests'),
56)
57 
58PACKAGE_DATA = {
59}
60
61SETUP_REQUIRES = (
62    'setuptools',
63)
64
65INSTALL_REQUIRES = (
66    'Orange',
67    'setuptools',
68),
69
70EXTRAS_REQUIRE = {
71    'GUI': (
72        # Dependencies which are problematic to install automatically
73        #'PyQt', # No setup.py
74    ),
75}
76
77DEPENDENCY_LINKS = (
78)
79
80ENTRY_POINTS = {
81    'orange.addons': (
82        'reliability = _reliability',
83    ),
84    'orange.widgets': (
85        'Evaluate = _reliability.widgets',
86        # This should be unneeded, because module given should load (register)
87        # all wanted widgets and prototypes should just have a flag, but for now ...
88        # 'Prototypes = _reliability.widgets.prototypes',
89    ),
90}
91
92if __name__ == '__main__':
93    setup(
94        name = NAME,
95        version = VERSION,
96        description = DESCRIPTION,
97        long_description = LONG_DESCRIPTION,
98        author = AUTHOR,
99        author_email = AUTHOR_EMAIL,
100        url = URL,
101        download_url = DOWNLOAD_URL,
102        license = LICENSE,
103        keywords = KEYWORDS,
104        classifiers = CLASSIFIERS,
105        packages = PACKAGES,
106        package_data = PACKAGE_DATA,
107        setup_requires = SETUP_REQUIRES,
108        install_requires = INSTALL_REQUIRES,
109        extras_require = EXTRAS_REQUIRE,
110        dependency_links = DEPENDENCY_LINKS,
111        entry_points = ENTRY_POINTS,
112        include_package_data = True,
113        zip_safe = False,
114    )
Note: See TracBrowser for help on using the repository browser.