source: orange-bioinformatics/setup.py @ 1864:0df93c7f4681

Revision 1864:0df93c7f4681, 3.9 KB checked in by markotoplak, 6 months ago (diff)

version bump

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