Skip to content

Commit 9a176cf

Browse files
author
Matt George
committed
Merge commit 'dsc/master'
2 parents 89894fc + 6d264c4 commit 9a176cf

File tree

3 files changed

+33
-14
lines changed

3 files changed

+33
-14
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
*.pyc
22
build/
3-
.coverage
3+
.coverage
4+
*.egg-info

README.markdown

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
11
PyRes - a Resque clone
22
======================
3+
34
[Resque](http://github.com/defunkt/resque) is a great implementation of a job queue by the people at github. It's written in ruby, which is great, but I primarily work in python. So I took on the task of porting over the code to python and PyRes was the result
45

5-
Goals
6-
-----
6+
7+
## Project Goals
8+
79
Because of some differences between ruby and python, there are a couple of places where I chose speed over correctness. The goal will be to eventually take the application and make it more pythonic without sacrificing the awesome functionality found in resque. At the same time, I hope to stay within the bounds of the original api and web interface.
810

9-
TODO
10-
----
11+
12+
## Running Tests
13+
14+
1. Install nose: `$ easy_install nose`
15+
2. Start redis: `$ redis-server [PATH_TO_YOUR_REDIS_CONFIG]`
16+
3. Run nose: `$ nosetests` Or more verbosely: `$ nosetests -v`
17+
18+
19+
## TODO
20+
1121
Stabalize the api.
1222

1323
Flesh out a python version of the web interface. Currently, there is a resweb module that uses the itty micro framework and the jinja2 templating engine to display basics. I'd like to get this as close to the resque web interface as possible.

setup.py

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
11
from distutils.core import setup
22

3-
setup(name='PyRes',
4-
version='0.3.0',
5-
description='Python Resque Job',
6-
author='Matt George',
7-
author_email='[email protected]',
8-
url='http://github.com/binarydud/pyres',
9-
packages=['pyres', 'resweb'],
10-
package_data={'resweb': ['templates/*.mustache','media/*']},
11-
scripts=['scripts/pyres_worker', 'scripts/pyres_web']
3+
setup(
4+
name='PyRes',
5+
version='0.3.0',
6+
description='Python Resque Job',
7+
author='Matt George',
8+
author_email='[email protected]',
9+
url='http://github.com/binarydud/pyres',
10+
packages=['pyres', 'resweb'],
11+
package_data={'resweb': ['templates/*.mustache','media/*']},
12+
scripts=['scripts/pyres_worker', 'scripts/pyres_web'],
13+
zip_safe = True,
14+
install_requires=[
15+
'simplejson>=2.0.9',
16+
'itty>=0.6.2',
17+
'redis>=0.6.0',
18+
'pystache>=0.1.0'
19+
],
1220
)

0 commit comments

Comments
 (0)