kopia lustrzana https://github.com/micropython/micropython-lib
upip: Add shell script to bootstrap upip from PyPI.
rodzic
5df309873d
commit
0b5f3c4bca
|
@ -0,0 +1,13 @@
|
|||
# This script performs bootstrap installation of upip package manager from PyPI
|
||||
# All the other packages can be installed using it.
|
||||
|
||||
# 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
|
||||
|
||||
tar xfz micropython-upip-*.tar.gz
|
||||
mkdir -p ~/.micropython/lib/
|
||||
cp micropython-upip-*/upip*.py ~/.micropython/lib/
|
||||
|
||||
echo "upip is installed. To use:"
|
||||
echo "micropython -m upip --help"
|
Ładowanie…
Reference in New Issue