Skip to content

Commit c424693

Browse files
[PATCH] Fix missing PyPi package description (#21)
* fix * Add empty commit to force use PR title during squash merge
1 parent 5a89437 commit c424693

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

setup.py

+10-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@
99
except ImportError:
1010
from distutils.core import setup
1111

12+
13+
with open('README.md', 'r') as readme:
14+
readme_text = readme.read()
15+
readme_text = readme_text.split('## Contributing')[0]
16+
17+
1218
setup(
1319
name='python-gitlab-submodule',
1420
description='python-gitlab-submodule : '
@@ -23,5 +29,8 @@
2329
install_requires=[
2430
'python-gitlab>=3.0.0',
2531
'giturlparse>=0.10.0'
26-
]
32+
],
33+
long_description=readme_text,
34+
long_description_content_type='text/markdown',
35+
platforms=['any']
2736
)

0 commit comments

Comments
 (0)