Skip to content

Commit e488ce3

Browse files
authored
Update setup.py
Import README.md
1 parent cfcae1d commit e488ce3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: setup.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
with open('test-requirements.txt') as reqs_file:
1717
test_requirements = reqs_file.read().splitlines()
1818

19+
with open('README.md') as rm_file:
20+
long_description = rm_file.read()
1921

2022
class build_py(_build_py):
2123

@@ -82,7 +84,7 @@ def build_py_modules(basedir: str, excludes: Sequence = ()) -> Sequence:
8284
name="GitPython",
8385
cmdclass={'build_py': build_py, 'sdist': sdist},
8486
version=VERSION,
85-
description="Python Git Library",
87+
description="""GitPython is a python library used to interact with Git repositories""",
8688
author="Sebastian Thiel, Michael Trier",
8789
8890
license="BSD",
@@ -96,6 +98,7 @@ def build_py_modules(basedir: str, excludes: Sequence = ()) -> Sequence:
9698
tests_require=requirements + test_requirements,
9799
zip_safe=False,
98100
long_description="""GitPython is a python library used to interact with Git repositories""",
101+
long_description_content_type="text/markdown",
99102
classifiers=[
100103
# Picked from
101104
# http://pypi.python.org/pypi?:action=list_classifiers

0 commit comments

Comments
 (0)