aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStanislav Ochotnicky <sochotnicky@gmail.com>2009-07-15 19:07:49 +0200
committerStanislav Ochotnicky <sochotnicky@gmail.com>2009-07-15 19:07:49 +0200
commit83ae3c9561551a1c97a160f9761222d9c4896389 (patch)
treeeb3403bd19ab184bef75769314859600327402ed /src
parentMatchbox host/port loading from config (diff)
downloadcollagen-83ae3c9561551a1c97a160f9761222d9c4896389.tar.gz
collagen-83ae3c9561551a1c97a160f9761222d9c4896389.tar.bz2
collagen-83ae3c9561551a1c97a160f9761222d9c4896389.zip
Added scripts to run matchbox/tinderbox
Diffstat (limited to 'src')
-rw-r--r--src/matchbox.py5
-rw-r--r--src/tinderbox.py7
2 files changed, 12 insertions, 0 deletions
diff --git a/src/matchbox.py b/src/matchbox.py
new file mode 100644
index 0000000..8bd6da5
--- /dev/null
+++ b/src/matchbox.py
@@ -0,0 +1,5 @@
+from matchbox import MatchboxServer as ms
+
+s = ms('localhost',10000)
+
+s.start_server()
diff --git a/src/tinderbox.py b/src/tinderbox.py
new file mode 100644
index 0000000..29c82c7
--- /dev/null
+++ b/src/tinderbox.py
@@ -0,0 +1,7 @@
+import protocol
+import socket
+import pickle
+from tinderbox import Tinderbox, Package
+
+tb = Tinderbox()
+tb.start_tinderbox()