Skip to content

Commit 815fbfb

Browse files
authored
add long_description (RediSearch#49)
1 parent 0b9e7af commit 815fbfb

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

setup.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
11

22
#!/usr/bin/env python
33
from setuptools import setup, find_packages
4+
import io
45

6+
def read_all(f):
7+
with io.open(f, encoding="utf-8") as I:
8+
return I.read()
9+
10+
requirements = map(str.strip, open("requirements.txt").readlines())
511

612
setup(
713
name='redisearch',
814
version='0.8.0',
9-
1015
description='RedisSearch Python Client',
16+
long_description=read_all("README.md"),
17+
long_description_content_type='text/markdown',
1118
url='http://github.com/RedisLabs/redisearch-py',
1219
packages=find_packages(),
1320
install_requires=['redis', 'hiredis', 'rmtest'],
@@ -18,5 +25,8 @@
1825
'Programming Language :: Python :: 2.7',
1926
'Topic :: Database',
2027
'Topic :: Software Development :: Testing'
21-
]
28+
],
29+
keywords='Redis Search Extension',
30+
author='RedisLabs',
31+
author_email='[email protected]'
2232
)

0 commit comments

Comments
 (0)