Damien George
e439624748
upip: Release 1.2.4.
...
Change PyPI URL to pypi.org.
2018-04-23 16:15:00 +10:00
Dustin Ingram
e17efb0844
upip: Fix upip bootstrap script to use pypi.org.
2018-04-23 16:03:17 +10:00
Dustin Ingram
b4c27ea1ea
upip: Use new JSON API pointing to pypi.org.
...
So upip doesn't have to follow redirects.
2018-04-23 16:02:29 +10:00
Paul Sokolovsky
60de502676
all: setup.py: Switch to sdist_upip.
2018-02-02 20:30:52 +02:00
Paul Sokolovsky
0c45f9f666
upip: Release 1.2.3.
2018-01-27 13:22:59 +02:00
Paul Sokolovsky
559d51c0ee
upip: Be sure to create socket with params returned by getaddrinfo().
...
To use address as returned by getaddrinfo(), we should create a socket
compatible with address family, etc., returned by the same call alongside
the address itself.
2018-01-27 13:22:37 +02:00
Paul Sokolovsky
94af1328c1
upip: Add copyright header.
2018-01-07 16:17:17 +02:00
Paul Sokolovsky
54e466d650
upip: Makefile: Remove unused dependencies.
2017-10-12 20:04:29 +03:00
Paul Sokolovsky
027d8f6d7f
upip: Release 1.2.2.
2017-09-29 18:21:32 -07:00
Paul Sokolovsky
eaf9f91d39
upip: upip_utarfile: Update for str.rstrip() fixes.
...
Propagated from utarfile.
2017-09-29 18:20:52 -07:00
Paul Sokolovsky
0636230639
upip: Release 1.2.1.
2017-06-16 02:47:52 +03:00
Anne Jan Brouwer
e8053fb06a
upip: Add server_hostname param to ussl.wrap_socket() call.
2017-06-15 16:04:58 +02:00
Paul Sokolovsky
577457dbdd
upip: Release 1.2.
2017-05-05 13:10:06 +03:00
Paul Sokolovsky
91d9c168b8
upip: url_open: Reworking error handling to guaranteedly close socket.
2017-05-05 03:25:07 +03:00
Paul Sokolovsky
024d6bc2b1
upip: install_pkg: Use try-finally to ensure opened socket always closed.
2017-05-05 03:17:21 +03:00
Paul Sokolovsky
1bfd389a81
upip: url_open: If --debug, dump URL being opened.
2017-05-04 10:44:54 +03:00
Paul Sokolovsky
c9337def58
upip: Treat PyPI redirects as "package not found".
...
PyPI has got too smart and redirects typos, etc. to a similarly-called
packages.
2017-05-04 10:17:27 +03:00
Paul Sokolovsky
823b743daf
upip: get_pkg_metadata: Use ujson.load() to save memory.
2017-05-04 01:12:58 +03:00
Paul Sokolovsky
0496643afb
upip: Release 1.1.6.
2017-05-01 00:02:51 +03:00
Paul Sokolovsky
aa02e41056
upip: Allow to have commented packages in requirements.txt.
2017-05-01 00:02:33 +03:00
Paul Sokolovsky
d59af2da7b
upip: Release 1.1.5.
2017-02-08 01:15:58 +03:00
Paul Sokolovsky
1f91189e04
upip: Be sure to close socket if we abort with error early.
...
Need to close properly in more places.
2017-02-08 01:14:56 +03:00
Paul Sokolovsky
a86e7cf5a7
upip: Report host name resolve error in user friendly manner.
2017-02-08 01:12:45 +03:00
Paul Sokolovsky
068988085e
upip: Report package not found and similar errors with less noise.
...
While still allow to get full backtrace with --debug.
2017-02-08 00:39:47 +03:00
Paul Sokolovsky
b86a671f92
upip: Release 1.1.4.
2016-10-22 21:09:37 +03:00
Paul Sokolovsky
7e9eed98cb
upip: Fix handling of non-existing absolute install paths.
...
The latest refactor of _makedirs() had a buf preventing to create them
properly.
2016-10-22 21:07:56 +03:00
Paul Sokolovsky
9146ebe9a7
upip: Release 1.1.3.
2016-10-12 18:15:29 +03:00
Paul Sokolovsky
2c83920f36
upip: Fix heap size to use for decreased gzip dictionary.
...
Original intended value is 64K of heap or smaller, 640K figure was a
testing one.
2016-10-12 18:14:07 +03:00
Paul Sokolovsky
dfe4dee62a
all: setup.py: New releases for gzip 4k conversion.
2016-10-11 06:47:01 +03:00
Paul Sokolovsky
65fb3707ba
all: metadata.txt: Bump version for gzip 4k conversion.
2016-10-11 06:46:12 +03:00
Paul Sokolovsky
89e7f262ed
upip: Release 1.1.1.
2016-10-11 00:10:24 +03:00
Paul Sokolovsky
2ca1527321
upip: upip_utarfile.skip(): Optimize for memory usage.
2016-10-11 00:08:04 +03:00
Paul Sokolovsky
2696367cda
upip: Add explicit gc.collect() calls for low-heap ports.
2016-10-11 00:07:39 +03:00
Paul Sokolovsky
d1bc4918c5
upip: Release 1.1.
2016-10-09 12:29:50 +03:00
Paul Sokolovsky
e25148e860
upip: Update utarfile from upstream.
2016-10-09 12:28:26 +03:00
Paul Sokolovsky
8fa7dcc9c0
upip: Use gzip dictionary size depending on heap size available.
...
For systems with 64K of heap or less, use small dictionary size of 4KB.
Otherwise, use standard 32KB.
2016-10-09 02:19:53 +03:00
Paul Sokolovsky
d804100c20
upip: Add import-based usage help.
2016-10-09 02:13:05 +03:00
Paul Sokolovsky
47a6633a31
upip: Don't parse MICROPYPATH, just use sys.path[1] as set by micropython.
...
Makes POSIX and baremetal behavior simpler and more consistent.
2016-10-09 02:12:31 +03:00
Paul Sokolovsky
1ca07881e3
upip: A bit better reporting of networking errors.
2016-10-08 14:56:09 +03:00
Paul Sokolovsky
29c90a6231
upip: Don't rely on presence of directory entries in tar.
...
Just create intermediate path components for every filename.
2016-10-08 14:41:41 +03:00
Paul Sokolovsky
69390da38f
upip: _makedirs(): Make compatible with FatFs quirks.
...
Don't have trailing "/" in paths.
2016-10-08 01:17:20 +03:00
Paul Sokolovsky
c06f693ac3
upip: expandhome(): Call uos.getenv() only if there's something to expand.
...
To work on baremetal targets without getenv().
2016-10-08 00:36:24 +03:00
Paul Sokolovsky
f115b8c22f
upip: install(): Accept single package name in addition to a list.
2016-10-08 00:25:29 +03:00
Paul Sokolovsky
bf63593305
upip: Factor out deducing default installation path to a function.
...
Make this deducing friendly to baremetal systems by falling back to
sys.path if os.getenv() is not available (sys.path[1] is used as
an install path in this case).
2016-10-08 00:12:17 +03:00
Paul Sokolovsky
c1bfa36dbf
upip: Factor out install() function.
2016-10-07 01:41:19 +03:00
Paul Sokolovsky
ce843f3ffc
upip: Make importable as a module.
2016-10-07 01:27:50 +03:00
Paul Sokolovsky
542c8cf9ef
upip: save_file(): Optimize, use inplace buffer.
2016-10-06 00:50:55 +03:00
Paul Sokolovsky
7bc041e620
upip: Release 1.0.
2016-10-05 00:32:33 +03:00
Paul Sokolovsky
7b3a2c0a42
upip: Update utarfile module, readinto() support.
2016-10-04 00:13:53 +03:00
Paul Sokolovsky
ab714615c6
upip: Remove wget fallback.
2016-10-01 17:32:07 -07:00