source: orange-bioinformatics/setup.py @ 1674:1feec0bd5ffb

Revision 1674:1feec0bd5ffb, 3.9 KB checked in by mitar, 2 years ago (diff)

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