source: orange-bioinformatics/setup.py @ 1659:32e069184b7d

Revision 1659:32e069184b7d, 3.6 KB checked in by Ales Erjavec <ales.erjavec@…>, 2 years ago (diff)

Replaced 'distribute' dependency with setuptools'. Trimmed dependencies.

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