Skip to content

Commit bf7e43d

Browse files
gkorlandswilly22
authored andcommitted
add long_description to package (#61)
* add long_description to package * Update setup.py
1 parent 819ca6d commit bf7e43d

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

setup.py

+15-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,28 @@
11
from setuptools import setup, find_packages
2+
import io
3+
4+
def read_all(f):
5+
with io.open(f, encoding="utf-8") as I:
6+
return I.read()
7+
8+
requirements = map(str.strip, open("requirements.txt").readlines())
9+
210
setup(
311
name='redisgraph',
412
version='2.1',
5-
613
description='RedisGraph Python Client',
14+
long_description=read_all("README.md"),
15+
long_description_content_type='text/markdown',
716
url='https://github.com/redislabs/redisgraph-py',
817
packages=find_packages(),
9-
install_requires=['redis', 'PTable'],
18+
install_requires=requirements,
1019
classifiers=[
1120
'Intended Audience :: Developers',
1221
'License :: OSI Approved :: BSD License',
1322
'Programming Language :: Python :: 2.7',
1423
'Topic :: Database'
15-
]
24+
],
25+
keywords='Redis Graph Extension',
26+
author='RedisLabs',
27+
author_email='[email protected]'
1628
)

0 commit comments

Comments
 (0)