Skip to content

Commit bfe1ca5

Browse files
committed
added support for setuptools, finally. props to Paul Hubbard for authoring setup.py.
1 parent c62d70e commit bfe1ca5

File tree

5 files changed

+72
-0
lines changed

5 files changed

+72
-0
lines changed

CHANGES

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
* 0.6.0 Changed to Andy McCurdy's codebase on github
2+
* 0.5.5 Patch from David Moss, SHUTDOWN and doctest bugfix
3+
* 0.5.1-4 Bugfixes, no code changes, just packaging, 10/2/09
4+
* 0.5 Initial release, redis.py version 1.0.1, 10/2/09

INSTALL

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
Please use
3+
python setup.py install
4+
5+
and report errors to Andy McCurdy ([email protected])
6+

MANIFEST.in

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
include CHANGES
2+
include INSTALL
3+
include README

README

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
This is the Python interface to the Redis key-value store.
3+
4+
Documentation is in redis.py as docstrings and doctests. You can also view the
5+
Redis API at http://code.google.com/p/redis/wiki/CommandReference
6+
7+
Redis is at http://code.google.com/p/redis
8+
9+
Python interface originally developed by Ludovico Magnocavallo, now maintained by
10+
Andy McCurdy ([email protected]) at: http://github.com/andymccurdy/redis-py
11+
12+
Special thanks to Paul Hubbard ([email protected]) for packaging support.
13+

setup.py

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
#!/usr/bin/env python
2+
3+
"""
4+
@file setup.py
5+
@author Paul Hubbard
6+
@date 10/2/09
7+
@brief Setuptools configuration for redis client
8+
"""
9+
10+
version = '0.6.0'
11+
12+
sdict = {
13+
'name' : 'redis',
14+
'version' : version,
15+
'description' : 'Python client for Redis key-value store',
16+
'url': 'http://github.com/andymccurdy/redis-py/downloads',
17+
'download_url' : 'http://cloud.github.com/downloads/andymccurdy/redis-py/redis-%s.tar.gz' % version,
18+
'author' : 'Andy McCurdy',
19+
'author_email' : '[email protected]',
20+
'maintainer' : 'Andy McCurdy',
21+
'maintainer_email' : '[email protected]',
22+
'keywords': ['Redis', 'key-value store'],
23+
'classifiers' : [
24+
'Development Status :: 4 - Beta',
25+
'Environment :: Console',
26+
'Intended Audience :: Developers',
27+
'License :: OSI Approved :: MIT License',
28+
'Operating System :: OS Independent',
29+
'Programming Language :: Python'],
30+
}
31+
32+
from distutils.core import setup
33+
#setup(**setupdict)
34+
setup(name=sdict['name'],
35+
version=sdict['version'],
36+
author=sdict['author'],
37+
author_email=sdict['author_email'],
38+
maintainer=sdict['maintainer'],
39+
maintainer_email=sdict['maintainer_email'],
40+
url=sdict['url'],
41+
classifiers=sdict['classifiers'],
42+
description=sdict['description'],
43+
long_description=sdict['description'],
44+
download_url=sdict['download_url'],
45+
license='MIT',
46+
py_modules = ['redis'])

0 commit comments

Comments
 (0)