forked from hasboeuf/yogit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added CHANGELOG to PyPI public description
- Loading branch information
Showing
1 changed file
with
9 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,14 @@ | |
|
||
DEPENDENCIES = ["click", "halo", "packaging", "PyYAML>=5.1", "pyperclip", "requests", "requests-toolbelt", "tabulate"] | ||
|
||
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
def get_public_description(): | ||
with open("README.md", encoding="utf-8") as md_file: | ||
package_description_content = md_file.read() | ||
with open("CHANGELOG.md", encoding="utf-8") as md_file: | ||
changelog_content = md_file.read() | ||
return package_description_content + "\n\n" + changelog_content | ||
|
||
|
||
setuptools.setup( | ||
name=yogit.__application__, | ||
|
@@ -16,7 +22,7 @@ | |
author_email="[email protected]", | ||
license="MIT", | ||
description="Command line utility for GitHub daily work.", | ||
long_description=long_description, | ||
long_description=get_public_description(), | ||
long_description_content_type="text/markdown", | ||
keywords="git github utility branch pull requests", | ||
url="https://github.com/hasboeuf/yogit", | ||
|