-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·55 lines (51 loc) · 1.28 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
#!/usr/bin/env python
from setuptools import setup, find_packages
#
# Basic installation only installs dependencies that are required by both
# tools (enrolled and commissioner). To use the package as an enrollment
# daemon, install the extra dependencies for enrolled using:
#
# $ pip install spinet[enrolled]
#
# To install the extra dependencies needed by the commissioner, run:
#
# $ pip install spinet[commissioner]
#
setup(
name='spinet',
version='0.0.1',
description='A System for Provisioning of IoT Networks',
author='Jan Janak',
author_email='[email protected]',
packages=find_packages(),
install_requires=[
'blinker',
'cached-property',
'pyroute2',
'pyopenssl'
],
extras_require={
'enrolled': [
'flask',
'proquint'
],
'commissioner': [
'tabulate',
'netifaces',
'urllib3'
],
'label': [
'pyopenssl',
'tabulate',
'netifaces',
'cbor'
]
},
entry_points={
'console_scripts': [
'enrolled=spinet.enrolled.__main__:main',
'device-label=spinet.enrolled.label:main',
'commissioner=spinet.cms.__main__:main'
]
}
)