From 7ac50d1e79b81ea36c3f9e1b390e8d1214288ed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20K=C3=B6gl?= Date: Wed, 23 Apr 2014 17:58:50 +0200 Subject: [PATCH] done with this --- dump_grabber/dump_grabber/main.py | 4 +-- dump_grabber/setup.py | 50 +++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 dump_grabber/setup.py diff --git a/dump_grabber/dump_grabber/main.py b/dump_grabber/dump_grabber/main.py index 300ab17..9eb649f 100644 --- a/dump_grabber/dump_grabber/main.py +++ b/dump_grabber/dump_grabber/main.py @@ -61,7 +61,7 @@ class MainWindow(KMainWindow, Ui_MainWindow): self.graphics_scene = QtGui.QGraphicsScene(self) self.graphics_scene.setSceneRect(0,0, 775, 580) 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.setBold(True) self.blue_color = QtGui.QColor(47,147,235) @@ -291,7 +291,7 @@ class JustAHTTPServer(HTTPServer): def main(): - arg_parser = ArgParser("ekgplotter") + arg_parser = ArgParser("dump_grabber") arg_parser.add_global_group() client_group = arg_parser.add_client_group() arg_parser.add_argument(client_group, '-x', "--http_host", default="::", diff --git a/dump_grabber/setup.py b/dump_grabber/setup.py new file mode 100644 index 0000000..48cf6f7 --- /dev/null +++ b/dump_grabber/setup.py @@ -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' +)