kill dead tap.py code, move setup.py (unused)
authorterom@munkibari.lan
Sat, 20 Feb 2010 20:48:37 +0200
changeset 60 a5b4c60cdc5c
parent 59 43806d334fb4
child 61 1e26ee53381f
kill dead tap.py code, move setup.py (unused)
fixbot/setup.py
fixbot/tap.py
setup.py
--- a/fixbot/setup.py	Fri Feb 05 22:20:59 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-from distutils.core import setup, Extension
-
-_utmp = Extension('_utmp', sources=['_utmp.c'])
-
-setup(
-    name        = "FixBot",
-    version     = "0.1",
-    description = "IRC bot for sysadmin things",
-    ext_modules = [_utmp],
-)
--- a/fixbot/tap.py	Fri Feb 05 22:20:59 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-from twisted.python import usage
-
-import nexus
-
-class NexusOptions (usage.Options) :
-    optParameters = [
-        (   "uid",          "u",    "fixbot",           "user to run as"                                ),
-        (   "gid",          "g",    "nogroup",          "group to run as"                               ),
-        (   "irc-hostname", "s",    "irc.fixme.fi",     "IRC server hostname",                          ),
-        (   "irc-port",     "p",    6667,               "IRC server port",                      int     ),
-        (   "irc-nickname", "n",    "FixBotDev",        "IRC nickname",                                 ),
-        (   "irc-username", "U",    "fixbot",           "IRC username",                                 ),
-        (   "irc-channel",  "c",    "#fixme-test",      "IRC channel",                                  ),
-        (   "api-listen"    "l",    "127.0.0.1",        "address for API server to listen on"           ),
-        (   "api-port",     "P",    34888,              "port for API server to listen on",     int     ),
-    ]
-
-    optFlags = [
-
-    ]
-
-def makeService (config) :
-    #    app = service.Application('fixbot', uid=config['uid'], gid=config['gid'])
-    return nexus.makeService(config)
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/setup.py	Sat Feb 20 20:48:37 2010 +0200
@@ -0,0 +1,10 @@
+from distutils.core import setup, Extension
+
+_utmp = Extension('fixbot._utmp', sources=['fixbot/_utmp.c'])
+
+setup(
+    name        = "FixBot",
+    version     = "0.1",
+    description = "IRC bot for sysadmin things",
+    ext_modules = [_utmp],
+)