forked from biolab/orange3-network
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
136 lines (116 loc) · 3.45 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
#!/usr/bin/env python
import os
import sys
from setuptools import find_packages
if sys.version_info < (3, 6):
sys.exit('Orange3-Network requires Python >= 3.6')
from numpy.distutils.core import setup
NAME = 'Orange3-Network'
DOCUMENTATION_NAME = 'Orange Network'
VERSION = '1.4.2'
DESCRIPTION = 'Networks add-on for Orange 3 data mining software package.'
LONG_DESCRIPTION = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
AUTHOR = 'Laboratory of Bioinformatics, FRI UL'
AUTHOR_EMAIL = '[email protected]'
URL = 'https://github.com/biolab/orange3-network'
LICENSE = 'GPLv3'
KEYWORDS = (
'network',
'network analysis',
'network layout',
'network visualization',
'data mining',
'machine learning',
'artificial intelligence',
'orange',
'orange3 add-on',
)
CLASSIFIERS = (
'Development Status :: 4 - Beta',
'Environment :: X11 Applications :: Qt',
'Environment :: Console',
'Environment :: Plugins',
'Programming Language :: Python',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Software Development :: Libraries :: Python Modules',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
)
PACKAGES = find_packages(
exclude = ('*.tests', '*.tests.*', 'tests.*', 'tests'),
)
PACKAGE_DATA = {
'orangecontrib.network': ['networks/*'],
'orangecontrib.network.widgets': ['icons/*']
}
SETUP_REQUIRES = (
'setuptools',
)
INSTALL_REQUIRES = (
'pyqtgraph>=0.9.10',
'numpy>=1.8.0',
'Orange3>=3.20'
),
EXTRAS_REQUIRE = {
# Dependencies which are problematic to install automatically
'GUI': (
'AnyQt',
),
'reST': (
'numpydoc',
),
}
DEPENDENCY_LINKS = (
)
ENTRY_POINTS = {
'orange.addons': (
'network = orangecontrib.network',
),
'orange.widgets': (
'Network = orangecontrib.network.widgets',
),
'orange.data.io.search_paths': (
'network = orangecontrib.network:networks',
),
'orange.widgets': (
'Networks = orangecontrib.network.widgets',
)
}
NAMESPACES = ["orangecontrib"]
def configuration(parent_package='', top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration(None)
config.set_options(ignore_setup_xxx_py=True,
assume_default_configuration=True,
delegate_options_to_subpackages=True,
quiet=True)
config.add_subpackage('orangecontrib.network')
return config
if __name__ == '__main__':
setup(
configuration=configuration,
name = NAME,
version = VERSION,
description = DESCRIPTION,
long_description = LONG_DESCRIPTION,
author = AUTHOR,
author_email = AUTHOR_EMAIL,
url = URL,
license = LICENSE,
keywords = KEYWORDS,
classifiers = CLASSIFIERS,
packages = PACKAGES,
package_data = PACKAGE_DATA,
setup_requires = SETUP_REQUIRES,
install_requires = INSTALL_REQUIRES,
extras_require = EXTRAS_REQUIRE,
dependency_links = DEPENDENCY_LINKS,
entry_points = ENTRY_POINTS,
namespace_packages=NAMESPACES,
include_package_data = True,
zip_safe = False,
)