source: orange-bioinformatics/setup.py @ 1645:b542c4ab17b1

Revision 1645:b542c4ab17b1, 3.3 KB checked in by mstajdohar, 2 years ago (diff)

Added help on install for developers.

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 is an 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 :: POSIX',
43    'Operating System :: Microsoft :: Windows',
44    'Topic :: Scientific/Engineering :: Artificial Intelligence',
45    'Topic :: Scientific/Engineering :: Visualization',
46    'Topic :: Scientific/Engineering :: Bio-Informatics',
47    'Topic :: Software Development :: Libraries :: Python Modules',
48    'Intended Audience :: Education',
49    'Intended Audience :: Science/Research',
50    'Intended Audience :: Developers',
51)
52
53PACKAGES = find_packages(
54    exclude = ('*.tests', '*.tests.*', 'tests.*', 'tests'),
55)
56 
57PACKAGE_DATA = {
58}
59
60SETUP_REQUIRES = (
61)
62
63INSTALL_REQUIRES = (
64    'Orange',
65    'suds',
66    'numpy',
67    'requests',
68    #'oasa',
69    #'bkchem',
70    'PIL',
71    'networkx',
72    'pygraphviz',
73    # Dependencies which are problematic to install automatically
74    #'PyQt', # No setup.py
75    #'openbabel-python', # You get bindings together with the openbabel library and not stand-alone
76    #'scipy', # Requires Fortran compiler
77    #'matplotlib', # Requires that numpy is installed first
78),
79
80EXTRAS_REQUIRE = {
81}
82
83DEPENDENCY_LINKS = (
84    #'http://bkchem.zirael.org/download/bkchem-0.13.0.tar.gz',
85    #'http://bkchem.zirael.org/download/oasa-0.13.1.tar.gz',
86)
87
88ENTRY_POINTS = {
89    'orange.addons': (
90        'bioinformatics = _bioinformatics',
91    ),
92    'orange.widgets': (
93        'Bioinformatics = _bioinformatics.widgets',
94        # This should be unneeded, because module given should load (register)
95        # all wanted widgets and prototypes should just have a flag, but for now ...
96        'Prototypes = _bioinformatics.widgets.prototypes',
97    ),
98}
99
100if __name__ == '__main__':
101    setup(
102        name = NAME,
103        version = VERSION,
104        description = DESCRIPTION,
105        long_description = LONG_DESCRIPTION,
106        author = AUTHOR,
107        author_email = AUTHOR_EMAIL,
108        url = URL,
109        download_url = DOWNLOAD_URL,
110        license = LICENSE,
111        keywords = KEYWORDS,
112        classifiers = CLASSIFIERS,
113        packages = PACKAGES,
114        package_data = PACKAGE_DATA,
115        setup_requires = SETUP_REQUIRES,
116        install_requires = INSTALL_REQUIRES,
117        extras_require = EXTRAS_REQUIRE,
118        dependency_links = DEPENDENCY_LINKS,
119        entry_points = ENTRY_POINTS,
120        include_package_data = True,
121        zip_safe = False,
122    )
Note: See TracBrowser for help on using the repository browser.