source: orange-bioinformatics/setup.py @ 1669:a6bc72ca3aae

Revision 1669:a6bc72ca3aae, 3.8 KB checked in by mitar, 2 years ago (diff)

Version bump.

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