Commit c2b5bfcc authored by stijn's avatar stijn Committed by Damien George

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.
parent ddb53c94
# 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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment