mirror of https://github.com/docker/docker-py.git
Merge pull request #1248 from docker/setup-py-fixes
Add missing long_description and maintainer fields to setup.py
This commit is contained in:
commit
008730c670
12
setup.py
12
setup.py
|
@ -33,10 +33,20 @@ with open('./test-requirements.txt') as test_reqs_txt:
|
||||||
test_requirements = [line for line in test_reqs_txt]
|
test_requirements = [line for line in test_reqs_txt]
|
||||||
|
|
||||||
|
|
||||||
|
long_description = ''
|
||||||
|
try:
|
||||||
|
with open('./README.rst') as readme_rst:
|
||||||
|
long_description = readme_rst.read()
|
||||||
|
except IOError:
|
||||||
|
# README.rst is only generated on release. Its absence should not prevent
|
||||||
|
# setup.py from working properly.
|
||||||
|
pass
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="docker-py",
|
name="docker-py",
|
||||||
version=version,
|
version=version,
|
||||||
description="Python client for Docker.",
|
description="Python client for Docker.",
|
||||||
|
long_description=long_description,
|
||||||
url='https://github.com/docker/docker-py/',
|
url='https://github.com/docker/docker-py/',
|
||||||
packages=[
|
packages=[
|
||||||
'docker', 'docker.api', 'docker.auth', 'docker.transport',
|
'docker', 'docker.api', 'docker.auth', 'docker.transport',
|
||||||
|
@ -64,4 +74,6 @@ setup(
|
||||||
'Topic :: Utilities',
|
'Topic :: Utilities',
|
||||||
'License :: OSI Approved :: Apache Software License',
|
'License :: OSI Approved :: Apache Software License',
|
||||||
],
|
],
|
||||||
|
maintainer='Joffrey F',
|
||||||
|
maintainer_email='joffrey@docker.com',
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue