Skip to content

Commit

Permalink
Add "Bug Tracker" and "Documentation" links to setup.py
Browse files Browse the repository at this point in the history
They show up on the pypi page on the left, making
them easier to find.

Signed-off-by: Attila Szakacs <[email protected]>
  • Loading branch information
alltilla committed Jun 26, 2024
1 parent 37da768 commit 7ec5502
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ def run(self):
description=nacl.__summary__,
long_description="\n".join((README, INSTALL, CHANGELOG)),
url=nacl.__uri__,
project_urls=nacl.__project_urls__,
license=nacl.__license__,
author=nacl.__author__,
author_email=nacl.__email__,
Expand Down
6 changes: 6 additions & 0 deletions src/nacl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"__title__",
"__summary__",
"__uri__",
"__project_urls",
"__version__",
"__author__",
"__email__",
Expand All @@ -30,6 +31,11 @@
)
__uri__ = "https://github.com/pyca/pynacl/"

__project_urls__ = {
"Bug Tracker": "https://github.com/pyca/pynacl/issues",
"Documentation": "https://pynacl.readthedocs.io/",
}

__version__ = "1.6.0.dev1"

__author__ = "The PyNaCl developers"
Expand Down

0 comments on commit 7ec5502

Please sign in to comment.