summaryrefslogtreecommitdiff
path: root/tools/upip.py
AgeCommit message (Collapse)Author
2021-04-23tools/upip.py: Use .errno instead of .args[0] for OSError exceptions.Damien George
Signed-off-by: Damien George <damien@micropython.org>
2020-10-20tools/upip.py: Support explicit port number in host.awachtler
Adding a port number other then 443 to a PyPI URL may be needed if a local server like devpi is used.
2020-02-28all: Reformat C and Python source code with tools/codeformat.py.Damien George
This is run with uncrustify 0.70.1, and black 19.10b0.
2019-05-15tools/upip.py: Add support for multiple index URLs with custom default.Damien George
The user can now select their own package index by either passing the "-i" command line option, or setting the upip.index_urls variable (before doing an install). The https://micropython.org/pi package index hosts packages from micropython-lib and will be searched first when installing a package. If a package is not found here then it will fallback to PyPI.
2019-03-08tools/upip.py: Use "raise arg" instead of no-arg raise form, for native.Damien George
2018-04-23tools/upip: Upgrade upip to 1.2.4.Damien George
Uses new pypi.org URL, and now creates a socket with the address parameters returned by getaddrinfo().
2017-09-29tools/upip: Upgrade to 1.2.2.Paul Sokolovsky
TLS SNI support, fixes after making str.rstrip() behavior compliant.
2017-05-05tools/upip: Upgrade to 1.2.Paul Sokolovsky
Memory optimizations and error handling improvements.
2017-05-01tools/upip: Upgrade to 1.1.6, supports commented lines in requirements.txt.Paul Sokolovsky
2017-02-10tools/upip: Update to 1.1.5. Better and more user-friendly error handling.Paul Sokolovsky
2016-11-07tools, unix: Replace upip tarball with just source files.Paul Sokolovsky
To make its inclusion as frozen modules in multiple ports less magic. Ports are just expected to symlink 2 files into their scripts/modules subdirs. Unix port updated to use this and in general follow frozen modules setup tested and tried on baremetal ports, where there's "scripts" predefined dir (overridable with FROZEN_DIR make var), and a user just drops Python files there.