source: orange-bioinformatics/setup.py @ 2059:a3492b4a5d63

Revision 2059:a3492b4a5d63, 4.1 KB checked in by markotoplak, 4 days 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.5.25'
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
66# Backwards compatibility stub. Should be removed by the 2.7 release.
67PY_MODULES = ["_bioinformatics"]
68
69SETUP_REQUIRES = (
70    'setuptools',
71)
72
73INSTALL_REQUIRES = (
74    'Orange',
75    'setuptools',
76    'numpy',
77    # Dependencies which are problematic to install automatically
78    #'openbabel-python', # You get bindings together with the openbabel library and not stand-alone
79    #'scipy', # Requires Fortran compiler
80    #'matplotlib', # Requires that numpy is installed first
81),
82
83EXTRAS_REQUIRE = {
84    'GUI': (
85        # Dependencies which are problematic to install automatically
86        #'PyQt', # No setup.py
87    ),
88    'MOL_DEPICT': (
89        'oasa'
90    ),
91    'NETWORK': (
92        'Orange[NETWORK]'
93    ),
94    'KEGG': (
95        'slumber >= 0.4'
96    )
97
98}
99
100DEPENDENCY_LINKS = (
101#    'http://bkchem.zirael.org/download/bkchem-0.13.0.tar.gz',
102#    'http://orange.biolab.si/download/bkchem-0.13.0.tar.gz',
103    'http://bkchem.zirael.org/download/oasa-0.13.1.tar.gz',
104    'http://orange.biolab.si/download/oasa-0.13.1.tar.gz',
105)
106
107ENTRY_POINTS = {
108    'orange.addons': (
109        'bio = orangecontrib.bio',
110    ),
111    'orange.widgets': (
112        'Bioinformatics = orangecontrib.bio.widgets',
113        # This should be unneeded, because module given should load (register)
114        # all wanted widgets and prototypes should just have a flag, but for now ...
115        'Prototypes = orangecontrib.bio.widgets.prototypes',
116    ),
117    'orange.canvas.help': (
118        'intersphinx = orangecontrib.bio.widgets:intersphinx'
119    )
120}
121
122NAMESPACE_PACAKGES = ["orangecontrib", "orangecontrib.bio"]
123
124if __name__ == '__main__':
125    setup(
126        name = NAME,
127        version = VERSION,
128        description = DESCRIPTION,
129        long_description = LONG_DESCRIPTION,
130        author = AUTHOR,
131        author_email = AUTHOR_EMAIL,
132        url = URL,
133        download_url = DOWNLOAD_URL,
134        license = LICENSE,
135        keywords = KEYWORDS,
136        classifiers = CLASSIFIERS,
137        packages = PACKAGES,
138        package_data = PACKAGE_DATA,
139        py_modules = PY_MODULES,
140        setup_requires = SETUP_REQUIRES,
141        install_requires = INSTALL_REQUIRES,
142        extras_require = EXTRAS_REQUIRE,
143        dependency_links = DEPENDENCY_LINKS,
144        entry_points = ENTRY_POINTS,
145        namespace_packages=NAMESPACE_PACAKGES,
146        include_package_data = True,
147        zip_safe = False,
148    )
Note: See TracBrowser for help on using the repository browser.