Skip to content

Commit 9be82e1

Browse files
authored
Merge pull request python-gitlab#659 from python-gitlab/docs/readme-pypi
docs(setup): use proper readme on PyPI
2 parents 704ca51 + 6898097 commit 9be82e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ def get_version():
1111
if line.startswith('__version__'):
1212
return eval(line.split('=')[-1])
1313

14+
with open("README.rst", "r") as readme_file:
15+
readme = readme_file.read()
1416

1517
setup(name='python-gitlab',
1618
version=get_version(),
1719
description='Interact with GitLab API',
18-
long_description='Interact with GitLab API',
20+
long_description=readme,
1921
author='Gauvain Pocentek',
2022
author_email='gauvain@pocentek.net',
2123
license='LGPLv3',

0 commit comments

Comments
 (0)