Skip to content

Commit b4c27ea

Browse files
didpgeorge
authored andcommitted
upip: Use new JSON API pointing to pypi.org.
So upip doesn't have to follow redirects.
1 parent 49e8a83 commit b4c27ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

upip/upip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def url_open(url):
156156

157157

158158
def get_pkg_metadata(name):
159-
f = url_open("https://pypi.python.org/pypi/%s/json" % name)
159+
f = url_open("https://pypi.org/pypi/%s/json" % name)
160160
try:
161161
return json.load(f)
162162
finally:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy