source: orange-bioinformatics/setup.py @ 1879:3e9c962d89f8

Revision 1879:3e9c962d89f8, 4.0 KB checked in by Marko Toplak <marko.toplak@…>, 6 months ago (diff)

Merged in ales_erjavec/orange-bioinformatics (pull request #2)

Move 'anonymous' _bioinformatics package into orangecontrib namespace

  • Property exe set to *
RevLine 
[1585]1#!/usr/bin/env python
2
[1662]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
[1641]10
[1635]11import os
[1585]12
[1635]13from setuptools import setup, find_packages
[1585]14
[1635]15NAME = 'Orange-Bioinformatics'
[1666]16DOCUMENTATION_NAME = 'Orange Bioinformatics'
[1585]17
[1871]18VERSION = '2.5a14'
[188]19
[1651]20DESCRIPTION = 'Orange Bioinformatics add-on for Orange data mining software package.'
[1635]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'
[1585]27
[1635]28KEYWORDS = (
29    'data mining',
30    'machine learning',
31    'artificial intelligence',
32    'bioinformatics',
33    'gene ontology',
34    'KEGG',
35    'expression profiles',
[1638]36    'microarray',
37    'genomics',
[1671]38    'orange',
39    'orange add-on',
[1635]40)
[1585]41
[1635]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+)',
[1649]49    'Operating System :: OS Independent',
[1635]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)
[1585]58
[1635]59PACKAGES = find_packages(
60    exclude = ('*.tests', '*.tests.*', 'tests.*', 'tests'),
61)
[1873]62
[1635]63PACKAGE_DATA = {
64}
[1585]65
[1873]66# Backwards compatibility stub. Should be removed by the 2.7 release.
67PY_MODULES = ["_bioinformatics"]
68
[1636]69SETUP_REQUIRES = (
[1659]70    'setuptools',
[1636]71)
72
[1635]73INSTALL_REQUIRES = (
74    'Orange',
[1659]75    'setuptools',
[1635]76    'numpy',
[1636]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
[1635]81),
[1585]82
[1642]83EXTRAS_REQUIRE = {
[1653]84    'GUI': (
85        # Dependencies which are problematic to install automatically
86        #'PyQt', # No setup.py
87    ),
[1659]88    'MOL_DEPICT': (
89        'oasa'
90    ),
91    'NETWORK': (
92        'Orange[NETWORK]'
93    ),
94    'KEGG': (
[1733]95        'slumber >= 0.4'
[1659]96    )
97
[1642]98}
99
[1635]100DEPENDENCY_LINKS = (
[1659]101#    'http://bkchem.zirael.org/download/bkchem-0.13.0.tar.gz',
102#    'http://orange.biolab.si/download/bkchem-0.13.0.tar.gz',
[1648]103    'http://bkchem.zirael.org/download/oasa-0.13.1.tar.gz',
104    'http://orange.biolab.si/download/oasa-0.13.1.tar.gz',
[1635]105)
[1585]106
[1635]107ENTRY_POINTS = {
[1636]108    'orange.addons': (
[1873]109        'bio = orangecontrib.bio',
[1636]110    ),
[1635]111    'orange.widgets': (
[1873]112        'Bioinformatics = orangecontrib.bio.widgets',
[1643]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 ...
[1873]115        'Prototypes = orangecontrib.bio.widgets.prototypes',
[1635]116    ),
[1730]117    'orange.canvas.help': (
[1873]118        'intersphinx = orangecontrib.bio.widgets:intersphinx'
[1730]119    )
[1635]120}
[188]121
[1635]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,
[1873]137        py_modules = PY_MODULES,
[1636]138        setup_requires = SETUP_REQUIRES,
[1635]139        install_requires = INSTALL_REQUIRES,
[1642]140        extras_require = EXTRAS_REQUIRE,
[1635]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.