added new scripts to setup.py

This commit is contained in:
Stefan Kögl 2014-03-15 20:39:03 +01:00
parent e60434e8d8
commit 1cf7e6a75b
4 changed files with 7 additions and 3 deletions

View File

@ -22,6 +22,7 @@ from __future__ import absolute_import
from sensors2osc.common import *
atexit.register(close)
def main():
args, osc_sock = init("ehealth2osc")
@ -68,5 +69,4 @@ def main():
if __name__ == '__main__':
atexit.register(close)
main()

View File

@ -22,6 +22,7 @@ from __future__ import absolute_import
from sensors2osc.common import *
atexit.register(close)
def main():
args, osc_sock = init("ekg2osc")
@ -43,5 +44,4 @@ def main():
if __name__ == '__main__':
atexit.register(close)
main()

View File

@ -22,6 +22,8 @@ from __future__ import absolute_import
from sensors2osc.common import *
atexit.register(close)
class RingBuffer(object):
def __init__(self, length):
self.length = length
@ -98,5 +100,4 @@ def main():
if __name__ == '__main__':
atexit.register(close)
main()

View File

@ -33,6 +33,9 @@ setup(
[console_scripts]
sensors2osc = sensors2osc.main:main
sensorTest = sensors2osc.sensorTest:main
ekg2osc = sensors2osc.ekg2osc:main
pulse2osc = sensors2osc.pulse2osc:main
ehealth2osc = sensors2osc.ehealth2osc:main
""",
# pypi metadata
author = "Stefan Kögl",