Skip to content

Commit

Permalink
long description is now the contents of the readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
andymccurdy committed Jun 1, 2011
1 parent bd4b3e6 commit 3d98253
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
#!/usr/bin/env python
import os
from redis import __version__

f = open(os.path.join(os.path.dirname(__file__), 'README.md'))
long_description = f.read()
f.close()

sdict = {
'name' : 'redis',
'version' : __version__,
'description' : 'Python client for Redis key-value store',
'long_description' : 'Python client for Redis key-value store',
'long_description' : long_description,
'url': 'http://github.com/andymccurdy/redis-py',
'download_url' : 'http://cloud.github.com/downloads/andymccurdy/redis-py/redis-%s.tar.gz' % __version__,
'author' : 'Andy McCurdy',
Expand All @@ -29,6 +34,6 @@
from setuptools import setup
except ImportError:
from distutils.core import setup

setup(**sdict)

0 comments on commit 3d98253

Please sign in to comment.