Skip to content

Commit 0c8e26c

Browse files
committed
Add missing long_description and maintainer fields to setup.py
Signed-off-by: Joffrey F <[email protected]>
1 parent fc481c4 commit 0c8e26c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

setup.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,20 @@
3030
test_requirements = [line for line in test_reqs_txt]
3131

3232

33+
long_description = ''
34+
try:
35+
with open('./README.rst') as readme_rst:
36+
long_description = readme_rst.read()
37+
except IOError:
38+
# README.rst is only generated on release. Its absence should not prevent
39+
# setup.py from working properly.
40+
pass
41+
3342
setup(
3443
name="docker-py",
3544
version=version,
3645
description="Python client for Docker.",
46+
long_description=long_description,
3747
url='https://github.com/docker/docker-py/',
3848
packages=[
3949
'docker', 'docker.api', 'docker.auth', 'docker.transport',
@@ -61,4 +71,6 @@
6171
'Topic :: Utilities',
6272
'License :: OSI Approved :: Apache Software License',
6373
],
74+
maintainer='Joffrey F',
75+
maintainer_email='[email protected]',
6476
)

0 commit comments

Comments
 (0)