micropython/ports/unix/variants
Damien George aac5a97d08 ports: Move '.frozen' to second entry in sys.path.
In commit 86ce442607 the '.frozen' entry was
added at the start of sys.path, to allow control over when frozen modules
are searched during import, and retain existing behaviour whereby frozen
was searched before the filesystem.

But Python semantics of sys.path require sys.path[0] to be the directory of
the currently executing script, or ''.

This commit moves the '.frozen' entry to second place in sys.path, so
sys.path[0] retains its correct value (described above).

Signed-off-by: Damien George <damien@micropython.org>
2021-12-29 23:55:36 +11:00
..
coverage py/modio: Remove io.resource_stream function. 2021-12-17 23:53:44 +11:00
dev unix/variants: Enable help and help("modules") on standard and dev. 2021-07-13 16:18:15 +10:00
fast unix/variants: Fix fast and freedos variants so they build again. 2020-08-30 13:48:26 +10:00
freedos unix/variants: Fix fast and freedos variants so they build again. 2020-08-30 13:48:26 +10:00
minimal ports: Move '.frozen' to second entry in sys.path. 2021-12-29 23:55:36 +11:00
nanbox unix: Rename unix binaries to micropython-variant (not _variant). 2020-01-12 10:37:40 +11:00
standard unix/variants: Enable help and help("modules") on standard and dev. 2021-07-13 16:18:15 +10:00
manifest.py unix: Make manifest selection match other ports. 2020-07-01 22:42:55 +10:00