Skip to content

Import README.md into setup.py #1337

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 9, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update setup.py
Import README.md
  • Loading branch information
Yobmod authored Sep 9, 2021
commit e488ce376d7bb92d3d9bb1c6d2408f1ec2a2d5f4
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
with open('test-requirements.txt') as reqs_file:
test_requirements = reqs_file.read().splitlines()

with open('README.md') as rm_file:
long_description = rm_file.read()

class build_py(_build_py):

Expand Down Expand Up @@ -82,7 +84,7 @@ def build_py_modules(basedir: str, excludes: Sequence = ()) -> Sequence:
name="GitPython",
cmdclass={'build_py': build_py, 'sdist': sdist},
version=VERSION,
description="Python Git Library",
description="""GitPython is a python library used to interact with Git repositories""",
author="Sebastian Thiel, Michael Trier",
author_email="byronimo@gmail.com, mtrier@gmail.com",
license="BSD",
Expand All @@ -96,6 +98,7 @@ def build_py_modules(basedir: str, excludes: Sequence = ()) -> Sequence:
tests_require=requirements + test_requirements,
zip_safe=False,
long_description="""GitPython is a python library used to interact with Git repositories""",
long_description_content_type="text/markdown",
classifiers=[
# Picked from
# http://pypi.python.org/pypi?:action=list_classifiers
Expand Down