Skip to content

Commit

Permalink
MINOR: [Python] Add GitHub URL for PyPi
Browse files Browse the repository at this point in the history
Warehouse now uses the project_urls provided to display links in the sidebar on [this screen](https://pypi.org/project/requests/), as well as including them in API responses to help the automation tool find the source code for Requests.

Example: [pypi.org/pypi/requests/json](https://pypi.org/pypi/requests/json)
Docs: [packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#project-urls](https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#project-urls)

Closes #12572 from andriyor/patch-1

Authored-by: Andrii Oriekhov <andriyorehov@gmail.com>
Signed-off-by: Antoine Pitrou <antoine@python.org>
  • Loading branch information
andriyor authored and pitrou committed Mar 7, 2022
1 parent bdea1b2 commit 11d2e48
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,5 +642,9 @@ def has_ext_modules(foo):
maintainer='Apache Arrow Developers',
maintainer_email='dev@arrow.apache.org',
test_suite='pyarrow.tests',
url='https://arrow.apache.org/'
url='https://arrow.apache.org/',
project_urls={
'Documentation': 'https://arrow.apache.org/docs/python',
'Source': 'https://github.com/apache/arrow',
},
)

0 comments on commit 11d2e48

Please sign in to comment.