forked from openaps/openomni
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
32 lines (30 loc) · 1007 Bytes
/
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
from setuptools import setup, find_packages
import re
VERSIONFILE = "openomni/_version.py"
verstrline = open(VERSIONFILE, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
if mo:
verstr = mo.group(1)
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
setup(name='openomni',
version=verstr,
description='Omnipod Packet Decoding Library',
url='http://github.com/openaps/omni',
# See https://github.com/openaps/openomni/graphs/contributors for actual
# contributors...
author='Pete Schwamb',
author_email='[email protected]',
scripts=[
'openomni/bin/decode_omni',
'openomni/bin/omni_listen_rfcat',
'openomni/bin/omni_akimbo',
'openomni/bin/omni_explore',
'openomni/bin/omni_send_rfcat',
'openomni/bin/omni_forloop'],
packages=find_packages(),
install_requires=[
'crccheck',
],
zip_safe=False)