-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
50 lines (46 loc) · 1.75 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
#!/usr/bin/env python
try:
import imp
version = imp.load_source('pyluos.version', 'pyluos/version.py')
except ImportError:
from importlib.machinery import SourceFileLoader
version = SourceFileLoader('pyluos.version', 'pyluos/version.py').load_module()
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
setup(name='pyluos',
version=version.version,
author="Luos",
author_email="[email protected]",
url="https://docs.luos.io/pages/high/pyluos.html",
description="Python library to set the high level behavior of your device based on Luos embedded system.",
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
license='MIT',
packages=find_packages(),
install_requires=['future',
'websocket-client',
'pyserial>3',
'SimpleWebSocketServer',
'zeroconf',
'numpy',
'anytree',
'crc8',
'ipython',
'requests'
],
extras_require={
'tests': ['pytest', 'flake8'],
'jupyter-integration': ['ipywidgets'],
},
entry_points={
'console_scripts': [
'pyluos-wifi-gate = pyluos.tools.wifi_gate:main',
'pyluos-usb-gate = pyluos.tools.usb_gate:main',
'pyluos-usb2ws = pyluos.tools.usb2ws:main',
'pyluos-bootloader = pyluos.tools.bootloader:main',
'pyluos-shell = pyluos.tools.shell:main',
'pyluos-discover = pyluos.tools.discover:main'
],
},
)