source: orange-bioinformatics/setup.py @ 1877:2a17616eb737

Revision 1877:2a17616eb737, 4.0 KB checked in by Ales Erjavec <ales.erjavec@…>, 6 months ago (diff)

Merged biolab/orange-bioinformatics into default

Fixed conflicts in orangecontrib/bio/widgets/OWSetEnrichment.py

  • 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.5a10'
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
122if __name__ == '__main__':
123    setup(
124        name = NAME,
125        version = VERSION,
126        description = DESCRIPTION,
127        long_description = LONG_DESCRIPTION,
128        author = AUTHOR,
129        author_email = AUTHOR_EMAIL,
130        url = URL,
131        download_url = DOWNLOAD_URL,
132        license = LICENSE,
133        keywords = KEYWORDS,
134        classifiers = CLASSIFIERS,
135        packages = PACKAGES,
136        package_data = PACKAGE_DATA,
137        py_modules = PY_MODULES,
138        setup_requires = SETUP_REQUIRES,
139        install_requires = INSTALL_REQUIRES,
140        extras_require = EXTRAS_REQUIRE,
141        dependency_links = DEPENDENCY_LINKS,
142        entry_points = ENTRY_POINTS,
143        include_package_data = True,
144        zip_safe = False,
145    )
Note: See TracBrowser for help on using the repository browser.