source: orange-bioinformatics/setup.py @ 1662:427f1876f3e6

Revision 1662:427f1876f3e6, 3.7 KB checked in by mitar, 2 years ago (diff)

Revamped documentation.

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