summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstijn <stijn@ignitron.net>2021-01-27 10:14:50 +0100
committerDamien George <damien@micropython.org>2021-01-30 14:39:22 +1100
commitc2b5bfcc0c6648f549af215f3d2f47302e962c96 (patch)
treef5ce885699812904a949169cb5f8e1d2075b2ef2
parentddb53c9458381f71d896ebba60234716f1b156d9 (diff)
tools: Remove obsolete upip bootstrap script.
The upip module is frozen into ports supporting it, and it is included in the source tree, so there is no need to get it from PyPi. Moreover the PyPi package referred to is an out-of-date version of upip which is basically unrelated to our upip.py because the source is taken from a fork of micropython-lib instead of this repository.
-rwxr-xr-xtools/bootstrap_upip.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/tools/bootstrap_upip.sh b/tools/bootstrap_upip.sh
deleted file mode 100755
index 2891775d7..000000000
--- a/tools/bootstrap_upip.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-# This script performs bootstrap installation of upip package manager from PyPI
-# All the other packages can be installed using it.
-
-saved="$PWD"
-
-if [ "$1" = "" ]; then
- dest=~/.micropython/lib/
-else
- dest="$1"
-fi
-
-if [ -z "$TMPDIR" ]; then
- cd /tmp
-else
- cd $TMPDIR
-fi
-
-# Remove any stale old version
-rm -rf micropython-upip-*
-wget -nd -rH -l1 -D files.pythonhosted.org https://pypi.org/project/micropython-upip/ --reject=html
-
-tar xfz micropython-upip-*.tar.gz
-tmpd="$PWD"
-
-cd "$saved"
-mkdir -p "$dest"
-cp "$tmpd"/micropython-upip-*/upip*.py "$dest"
-
-echo "upip is installed. To use:"
-echo "micropython -m upip --help"