Skip to content

Commit

Permalink
setup: add project URLs
Browse files Browse the repository at this point in the history
The changelog is removed from the long description because it was
causing an error when uploading to pypi. Additional URLs are helpful
too.
  • Loading branch information
dlech committed Oct 20, 2021
1 parent b04789b commit 73034f0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
here = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(here, "README.rst"), encoding="utf-8") as f:
long_description = "\n" + f.read()
with io.open(os.path.join(here, "CHANGELOG.rst"), encoding="utf-8") as f:
long_description += "\n\n" + f.read()

# Load the package's __version__.py module as a dictionary.
about = {}
Expand Down Expand Up @@ -92,6 +90,12 @@ def run(self):
tests_require=TEST_REQUIRED,
include_package_data=True,
license="MIT",
project_urls={
"Changelog": "https://github.com/hbldh/bleak/blob/develop/CHANGELOG.rst",
"Documentation": "https://bleak.readthedocs.io",
"Support": "https://github.com/hbldh/bleak/discussions",
"Issues": "https://github.com/hbldh/bleak/issues",
},
classifiers=[
# Trove classifiers
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand Down

0 comments on commit 73034f0

Please sign in to comment.