Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Total refactor of code layout, and addition of 'setup.py' to

make txrabbitmq a proper python package.
  • Loading branch information...
commit 486a5b7b123fc9be625f015a88ba1f9a5040116f 1 parent d3271de
@clemesha-ooi clemesha-ooi authored
View
4 webui-example.tac.py → examples/webui.py
@@ -6,8 +6,8 @@
from twotp import Process, readCookie, buildNodeName
-from rabbitmqctl_service import RabbitMQControlService
-from webui.webui import RabbitMQControlWebUI
+from txrabbitmq.service import RabbitMQControlService
+from txrabbitmq.webui.webui import RabbitMQControlWebUI
PORT = 8888
WEBLOGPATH = "/tmp/txrabbitmqctl.web.%d.log" % int(time.time())
View
16 setup.py
@@ -0,0 +1,16 @@
+from setuptools import setup
+
+setup(
+ name = "txrabbitmq",
+ version="0.2",
+ description="RabbitMQ's 'rabbitmqctl' as a Twisted Service",
+
+ author="Alex Clemesha",
+ author_email="clemesha@ucsd.edu",
+ url="http://github.com/clemesha-ooi/txrabbitmq",
+ download_url="http://github.com/clemesha-ooi/txrabbitmq/tarball/master",
+ classifiers=[ ],
+ packages=['txrabbitmq'],
+ data_files=[('twisted/plugins', ['twisted/plugins/txrabbitmq.py'])],
+ install_requires = ['twotp', 'twisted', 'simplejson'],
+)
View
2  tests/test_service.py
@@ -5,7 +5,7 @@
from twotp.node import Process, readCookie, buildNodeName
-from rabbitmqctl_service import RabbitMQControlService
+from txrabbitmq.service import RabbitMQControlService
class TestRabbitMQControlService(unittest.TestCase):
"""Test the RabbitMQControlService.
View
0  webui/__init__.py → txrabbitmq/__init__.py
File renamed without changes
View
0  irabbitmqctl.py → txrabbitmq/irabbitmqctl.py
File renamed without changes
View
0  rabbitmqctl_service.py → txrabbitmq/service.py
File renamed without changes
View
0  txrabbitmq/webui/__init__.py
No changes.
View
0  webui/push/README → txrabbitmq/webui/push/README
File renamed without changes
View
0  webui/push/data_producer.py → txrabbitmq/webui/push/data_producer.py
File renamed without changes
View
0  webui/push/index.html → txrabbitmq/webui/push/index.html
File renamed without changes
View
0  webui/push/rabbitmq.cfg → txrabbitmq/webui/push/rabbitmq.cfg
File renamed without changes
View
0  webui/static/css/blueprint/ie.css → txrabbitmq/webui/static/css/blueprint/ie.css
File renamed without changes
View
0  webui/static/css/blueprint/print.css → ...itmq/webui/static/css/blueprint/print.css
File renamed without changes
View
0  webui/static/css/blueprint/screen.css → ...tmq/webui/static/css/blueprint/screen.css
File renamed without changes
View
0  webui/static/css/ui.css → txrabbitmq/webui/static/css/ui.css
File renamed without changes
View
0  webui/static/img/iconsprite.png → txrabbitmq/webui/static/img/iconsprite.png
File renamed without changes
View
0  webui/static/index.html → txrabbitmq/webui/static/index.html
File renamed without changes
View
0  webui/static/js/ui.js → txrabbitmq/webui/static/js/ui.js
File renamed without changes
View
0  webui/webui.py → txrabbitmq/webui/webui.py
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.