summaryrefslogtreecommitdiff
path: root/tools/bootstrap_upip.sh
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-04-23 16:11:27 +1000
committerDamien George <damien.p.george@gmail.com>2018-04-23 16:11:27 +1000
commitf7be5f9bfa61a07a8256aaae8f22d151f6b8ad81 (patch)
tree4145da5ffa3bfe490f55395ec572517d6dba907c /tools/bootstrap_upip.sh
parentb5ee3b2f21611b5a420e2ffb4cf2a239806dc763 (diff)
tools/upip: Upgrade upip to 1.2.4.
Uses new pypi.org URL, and now creates a socket with the address parameters returned by getaddrinfo().
Diffstat (limited to 'tools/bootstrap_upip.sh')
-rwxr-xr-xtools/bootstrap_upip.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bootstrap_upip.sh b/tools/bootstrap_upip.sh
index 667d0845a..2891775d7 100755
--- a/tools/bootstrap_upip.sh
+++ b/tools/bootstrap_upip.sh
@@ -17,7 +17,7 @@ fi
# Remove any stale old version
rm -rf micropython-upip-*
-wget -nd -r -l1 https://pypi.python.org/pypi/micropython-upip/ --accept-regex ".*pypi.python.org/packages/source/.*.gz" --reject=html
+wget -nd -rH -l1 -D files.pythonhosted.org https://pypi.org/project/micropython-upip/ --reject=html
tar xfz micropython-upip-*.tar.gz
tmpd="$PWD"