forked from biolab/orange3-example-addon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (34 loc) · 1.29 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
#!/usr/bin/env python
from setuptools import setup
ENTRY_POINTS = {
# Entry point used to specify packages containing tutorials accessible
# from welcome screen. Tutorials are saved Orange Workflows (.ows files).
'orange.widgets.tutorials': (
# Syntax: any_text = path.to.package.containing.tutorials
'exampletutorials = orangecontrib.example.tutorials',
),
# Entry point used to specify packages containing widgets.
'orange.widgets': (
# Syntax: category name = path.to.package.containing.widgets
# Widget category specification can be seen in
# orangecontrib/example/widgets/__init__.py
'My Category = orangecontrib.example.widgets',
),
}
if __name__ == '__main__':
setup(
name="Orange3 Example Add-on",
packages=['orangecontrib',
'orangecontrib.example',
'orangecontrib.example.tutorials',
'orangecontrib.example.widgets'],
package_data={
'orangecontrib.example': ['tutorials/*.ows'],
'orangecontrib.example.widgets': ['icons/*'],
},
install_requires=['Orange'],
entry_points=ENTRY_POINTS,
namespace_packages=['orangecontrib'],
include_package_data=True,
zip_safe=False,
)