done with this

This commit is contained in:
Stefan Kögl 2014-04-23 17:58:50 +02:00
parent 7e93c46547
commit 7ac50d1e79
2 changed files with 52 additions and 2 deletions

View File

@ -61,7 +61,7 @@ class MainWindow(KMainWindow, Ui_MainWindow):
self.graphics_scene = QtGui.QGraphicsScene(self) self.graphics_scene = QtGui.QGraphicsScene(self)
self.graphics_scene.setSceneRect(0,0, 775, 580) self.graphics_scene.setSceneRect(0,0, 775, 580)
self.graphics_view.setScene(self.graphics_scene) self.graphics_view.setScene(self.graphics_scene)
self.default_font = QtGui.QFont("Monospace", 14) self.default_font = QtGui.QFont("Monospace", 16)
self.default_font.setStyleHint(QtGui.QFont.Monospace) self.default_font.setStyleHint(QtGui.QFont.Monospace)
self.default_font.setBold(True) self.default_font.setBold(True)
self.blue_color = QtGui.QColor(47,147,235) self.blue_color = QtGui.QColor(47,147,235)
@ -291,7 +291,7 @@ class JustAHTTPServer(HTTPServer):
def main(): def main():
arg_parser = ArgParser("ekgplotter") arg_parser = ArgParser("dump_grabber")
arg_parser.add_global_group() arg_parser.add_global_group()
client_group = arg_parser.add_client_group() client_group = arg_parser.add_client_group()
arg_parser.add_argument(client_group, '-x', "--http_host", default="::", arg_parser.add_argument(client_group, '-x', "--http_host", default="::",

50
dump_grabber/setup.py Normal file
View File

@ -0,0 +1,50 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
from distribute_setup import use_setuptools
use_setuptools()
import sys
from setuptools import find_packages, setup
if sys.version_info >= (3,):
extras['use_2to3'] = True
setup(
name='dump_grabber',
version="0.1",
packages=find_packages(exclude=["scripts",]),
include_package_data = True,
exclude_package_data = {'': ['.gitignore']},
# installing unzipped
zip_safe = False,
# predefined extension points, e.g. for plugins
entry_points = """
[console_scripts]
dump_grabber = dump_grabber.main:main
""",
# pypi metadata
author = "Stefan Kögl",
# FIXME: add author email
author_email = "",
description = "osc messages logging terminal as mjpeg stream, uses 3 columns",
# FIXME: add long_description
long_description = """
""",
# FIXME: add license
license = "LGPL",
# FIXME: add keywords
keywords = "",
# FIXME: add download url
url = "",
test_suite='tests'
)