source: orange-bioinformatics/setup.py @ 1663:6f48078a9554

Revision 1663:6f48078a9554, 3.7 KB checked in by mitar, 2 years ago (diff)

Merge.

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-Bioinformatics'
16
17VERSION = '2.5a1'
18
19DESCRIPTION = 'Orange Bioinformatics add-on for Orange data mining software package.'
20LONG_DESCRIPTION = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
21AUTHOR = 'Bioinformatics Laboratory, FRI UL'
22AUTHOR_EMAIL = 'contact@orange.biolab.si'
23URL = 'http://orange.biolab.si/addons/'
24DOWNLOAD_URL = 'https://bitbucket.org/biolab/orange-bioinformatics/downloads'
25LICENSE = 'GPLv3'
26
27KEYWORDS = (
28    'data mining',
29    'machine learning',
30    'artificial intelligence',
31    'bioinformatics',
32    'gene ontology',
33    'KEGG',
34    'expression profiles',
35    'microarray',
36    'genomics',
37)
38
39CLASSIFIERS = (
40    'Development Status :: 4 - Beta',
41    'Environment :: X11 Applications :: Qt',
42    'Environment :: Console',
43    'Environment :: Plugins',
44    'Programming Language :: Python',
45    'Framework :: Orange',
46    'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
47    'Operating System :: OS Independent',
48    'Topic :: Scientific/Engineering :: Artificial Intelligence',
49    'Topic :: Scientific/Engineering :: Visualization',
50    'Topic :: Scientific/Engineering :: Bio-Informatics',
51    'Topic :: Software Development :: Libraries :: Python Modules',
52    'Intended Audience :: Education',
53    'Intended Audience :: Science/Research',
54    'Intended Audience :: Developers',
55)
56
57PACKAGES = find_packages(
58    exclude = ('*.tests', '*.tests.*', 'tests.*', 'tests'),
59)
60 
61PACKAGE_DATA = {
62}
63
64SETUP_REQUIRES = (
65    'setuptools',
66)
67
68INSTALL_REQUIRES = (
69    'Orange',
70    'setuptools',
71    'numpy',
72    # Dependencies which are problematic to install automatically
73    #'openbabel-python', # You get bindings together with the openbabel library and not stand-alone
74    #'scipy', # Requires Fortran compiler
75    #'matplotlib', # Requires that numpy is installed first
76),
77
78EXTRAS_REQUIRE = {
79    'GUI': (
80        # Dependencies which are problematic to install automatically
81        #'PyQt', # No setup.py
82    ),
83    'MOL_DEPICT': (
84        'oasa'
85    ),
86    'NETWORK': (
87        'Orange[NETWORK]'
88    ),
89    'KEGG': (
90        'suds'
91    )
92
93}
94
95DEPENDENCY_LINKS = (
96#    'http://bkchem.zirael.org/download/bkchem-0.13.0.tar.gz',
97#    'http://orange.biolab.si/download/bkchem-0.13.0.tar.gz',
98    'http://bkchem.zirael.org/download/oasa-0.13.1.tar.gz',
99    'http://orange.biolab.si/download/oasa-0.13.1.tar.gz',
100)
101
102ENTRY_POINTS = {
103    'orange.addons': (
104        'bioinformatics = _bioinformatics',
105    ),
106    'orange.widgets': (
107        'Bioinformatics = _bioinformatics.widgets',
108        # This should be unneeded, because module given should load (register)
109        # all wanted widgets and prototypes should just have a flag, but for now ...
110        'Prototypes = _bioinformatics.widgets.prototypes',
111    ),
112}
113
114if __name__ == '__main__':
115    setup(
116        name = NAME,
117        version = VERSION,
118        description = DESCRIPTION,
119        long_description = LONG_DESCRIPTION,
120        author = AUTHOR,
121        author_email = AUTHOR_EMAIL,
122        url = URL,
123        download_url = DOWNLOAD_URL,
124        license = LICENSE,
125        keywords = KEYWORDS,
126        classifiers = CLASSIFIERS,
127        packages = PACKAGES,
128        package_data = PACKAGE_DATA,
129        setup_requires = SETUP_REQUIRES,
130        install_requires = INSTALL_REQUIRES,
131        extras_require = EXTRAS_REQUIRE,
132        dependency_links = DEPENDENCY_LINKS,
133        entry_points = ENTRY_POINTS,
134        include_package_data = True,
135        zip_safe = False,
136    )
Note: See TracBrowser for help on using the repository browser.