source: orange-bioinformatics/setup.py @ 1862:49d9912ff84f

Revision 1862:49d9912ff84f, 3.9 KB checked in by markotoplak, 6 months ago (diff)

Version bump

  • 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
[1862]18VERSION = '2.5a10'
[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)
62 
63PACKAGE_DATA = {
64}
[1585]65
[1636]66SETUP_REQUIRES = (
[1659]67    'setuptools',
[1636]68)
69
[1635]70INSTALL_REQUIRES = (
71    'Orange',
[1659]72    'setuptools',
[1635]73    'numpy',
[1636]74    # Dependencies which are problematic to install automatically
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
[1635]78),
[1585]79
[1642]80EXTRAS_REQUIRE = {
[1653]81    'GUI': (
82        # Dependencies which are problematic to install automatically
83        #'PyQt', # No setup.py
84    ),
[1659]85    'MOL_DEPICT': (
86        'oasa'
87    ),
88    'NETWORK': (
89        'Orange[NETWORK]'
90    ),
91    'KEGG': (
[1733]92        'slumber >= 0.4'
[1659]93    )
94
[1642]95}
96
[1635]97DEPENDENCY_LINKS = (
[1659]98#    'http://bkchem.zirael.org/download/bkchem-0.13.0.tar.gz',
99#    'http://orange.biolab.si/download/bkchem-0.13.0.tar.gz',
[1648]100    'http://bkchem.zirael.org/download/oasa-0.13.1.tar.gz',
101    'http://orange.biolab.si/download/oasa-0.13.1.tar.gz',
[1635]102)
[1585]103
[1635]104ENTRY_POINTS = {
[1636]105    'orange.addons': (
[1683]106        'bio = _bioinformatics',
[1636]107    ),
[1635]108    'orange.widgets': (
[1643]109        'Bioinformatics = _bioinformatics.widgets',
110        # This should be unneeded, because module given should load (register)
111        # all wanted widgets and prototypes should just have a flag, but for now ...
112        'Prototypes = _bioinformatics.widgets.prototypes',
[1635]113    ),
[1730]114    'orange.canvas.help': (
115        'intersphinx = _bioinformatics.widgets:intersphinx'
116    )
[1635]117}
[188]118
[1635]119if __name__ == '__main__':
120    setup(
121        name = NAME,
122        version = VERSION,
123        description = DESCRIPTION,
124        long_description = LONG_DESCRIPTION,
125        author = AUTHOR,
126        author_email = AUTHOR_EMAIL,
127        url = URL,
128        download_url = DOWNLOAD_URL,
129        license = LICENSE,
130        keywords = KEYWORDS,
131        classifiers = CLASSIFIERS,
132        packages = PACKAGES,
133        package_data = PACKAGE_DATA,
[1636]134        setup_requires = SETUP_REQUIRES,
[1635]135        install_requires = INSTALL_REQUIRES,
[1642]136        extras_require = EXTRAS_REQUIRE,
[1635]137        dependency_links = DEPENDENCY_LINKS,
138        entry_points = ENTRY_POINTS,
139        include_package_data = True,
140        zip_safe = False,
141    )
Note: See TracBrowser for help on using the repository browser.