Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c12bba6

Browse files
committed
Update PyPI links
1 parent a2aed51 commit c12bba6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

python/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
needs_newline = True
8585
print(' pypi: ', end='', flush=True)
8686
response = requests.get(
87-
f"https://pypi.python.org/pypi/{package['pypi_name']}/json/")
87+
f"https://pypi.org/pypi/{package['pypi_name']}/json/")
8888
if response.status_code == 200:
8989
print('found')
9090
else:

python/template.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
{% if 'pypi' in package.badges %}
2727
<td>
28-
<a href="https://pypi.python.org/pypi/{{ package.pypi_name }}">
28+
<a href="https://pypi.org/project/{{ package.pypi_name }}">
2929
<img src="_static/badges/pip-orange.svg">
3030
</a>
3131
</td>

0 commit comments

Comments
 (0)