Added zenqueue backend as zenqueued based heavily on a patch by Daniel Lindsley. To use the zenqueued backend you'll need to set QUEUE_BACKEND to zenqueued, and also set QUEUE_ZENQUEUE_CONNECTION. The zenqueued backend defaults to using the client for HTTP but you can use either the HTTP or native method by setting QUEUE_ZENQUEUE_METHOD to http or native. Note that zenqueue does not allow for multiple named queues, so the name argument to the Queue constructor is ignored. Several other options (__len__, delete_queue, and get_list) are not supported by zenqueue.
author |
mcroydon |
date |
Wed, 20 May 2009 19:25:14 +0000 |
parents |
3b0011cd18aa |
children |
1358e3314c88 |
rev |
line source |
mcroydon@1
|
1 #!/usr/bin/env python
|
mcroydon@1
|
2
|
mcroydon@1
|
3 from distutils.core import setup
|
mcroydon@9
|
4
|
mcroydon@1
|
5 setup(name='queues',
|
mcroydon@8
|
6 version='0.3',
|
mcroydon@1
|
7 description='A lowest-common-denominator API for interacting with lightweight queue services.',
|
mcroydon@1
|
8 author='Matt Croydon',
|
mcroydon@1
|
9 author_email='mcroydon@gmail.com',
|
mcroydon@5
|
10 url='http://code.google.com/p/queues/',
|
mcroydon@1
|
11 packages=['queues', 'queues.backends'],
|
mcroydon@3
|
12 py_modules=['test'],
|
mcroydon@1
|
13 package_dir={'queues': 'queues'},
|
mcroydon@1
|
14 )
|