Skip to content
Browse files

long description is now the contents of the readme file

  • Loading branch information...
1 parent bd4b3e6 commit 3d9825388c9cbbb5ffbc300f42f7c47a564cbe42 @andymccurdy andymccurdy committed Jun 1, 2011
Showing with 7 additions and 2 deletions.
  1. +7 −2 setup.py
View
9 setup.py
@@ -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',
@@ -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.
Something went wrong with that request. Please try again.