forked from biolab/orange3-imageanalytics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·70 lines (59 loc) · 1.67 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
#!/usr/bin/env python3
from setuptools import setup, find_packages
import io
with io.open("README.rst", "r", encoding="utf-8") as f:
README = f.read()
NAME = "Orange3-ImageAnalytics"
VERSION = "0.0.5"
AUTHOR = 'Bioinformatics Laboratory, FRI UL'
AUTHOR_EMAIL = 'contact@orange.biolab.si'
URL = 'http://orange.biolab.si/download'
DESCRIPTION = "Orange3 add-on for image data mining."
LONG_DESCRIPTION = README
LICENSE = "GPL3+"
CLASSIFIERS = [
"Development Status :: 1 - Planning",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3 :: Only"
]
KEYWORDS = [
"orange3 add-on",
]
PACKAGES = find_packages()
PACKAGE_DATA = {
"orangecontrib.imageanalytics.widgets": ["icons/*.svg"],
}
INSTALL_REQUIRES = [
"Orange3 >= 3.3.5",
"setuptools",
"numpy",
"pillow",
"requests"
]
ENTRY_POINTS = {
"orange.widgets":
("Image Analytics = orangecontrib.imageanalytics.widgets",),
"orange3.addon":
("Orange3-Imageanalytics = orangecontrib.imageanalytics",)
}
NAMESPACE_PACKAGES = ["orangecontrib"]
if __name__ == "__main__":
setup(
name=NAME,
version=VERSION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
license=LICENSE,
packages=PACKAGES,
package_data=PACKAGE_DATA,
keywords=KEYWORDS,
classifiers=CLASSIFIERS,
install_requires=INSTALL_REQUIRES,
namespace_packages=NAMESPACE_PACKAGES,
entry_points=ENTRY_POINTS
)