freedos-micro-python 0.1.0__tar.gz → 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {freedos_micro_python-0.1.0/src/freedos_micro_python.egg-info → freedos_micro_python-0.1.1}/PKG-INFO +1 -1
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/pyproject.toml +1 -1
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/cli.py +8 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/scripts/build.sh +1 -1
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/scripts/build_port.sh +10 -2
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1/src/freedos_micro_python.egg-info}/PKG-INFO +1 -1
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/LICENSE +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/README.md +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/setup.cfg +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/__init__.py +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/gen_qstrdefs.py +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/arch/bpstruct.h +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/arch/cc.h +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/arch/epstruct.h +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/base64_uc386dos.c +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/file_uc386dos.c +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/lib/axtls/crypto/crypto.h +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/lwip-arch-cc.h +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/lwip_uc386dos.c +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/lwipopts.h +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/math_gamma.c +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/modtime_uc386dos.c +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/modtls_axtls_uc386dos.c +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/mpconfigport.h +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/mphal_uc386dos.c +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/mphalport.h +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/os_uc386dos.c +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/path_uc386dos.c +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/pktdrv_uc386dos.c +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/qstrdefsport.h +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/shutil_uc386dos.c +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/tempfile_uc386dos.c +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/time_real_uc386dos.c +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/uc386_net_uc386dos.c +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/urllib_parse_uc386dos.c +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/urllib_uc386dos.c +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/scripts/fetch.sh +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python.egg-info/SOURCES.txt +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python.egg-info/dependency_links.txt +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python.egg-info/entry_points.txt +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python.egg-info/requires.txt +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python.egg-info/top_level.txt +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/tests/test_gen_qstrdefs.py +0 -0
- {freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/tests/test_smoke.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "freedos_micro_python"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.1"
|
|
8
8
|
description = "MicroPython port for FreeDOS / i386 — built end-to-end through the uc386 C23 compiler"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
@@ -65,6 +65,14 @@ def _run_script(name: str, workdir: Path, extra_args: list[str]) -> int:
|
|
|
65
65
|
env["UC386_LIB_INCLUDE"] = str(_uc386_lib_include())
|
|
66
66
|
env["FREEDOS_MP_PORT_DIR"] = str(_port_dir())
|
|
67
67
|
env["FREEDOS_MP_SCRIPTS_DIR"] = str(_scripts_dir())
|
|
68
|
+
env["FREEDOS_MP_GEN_QSTRDEFS"] = str(
|
|
69
|
+
_scripts_dir().parent / "gen_qstrdefs.py"
|
|
70
|
+
)
|
|
71
|
+
# Pin the python the scripts invoke for `python -m uc386.main` to
|
|
72
|
+
# the same interpreter that's running this CLI — it's the one with
|
|
73
|
+
# uc386 installed. Without this the scripts fall back to
|
|
74
|
+
# `command -v python3.12` and hit the system python without uc386.
|
|
75
|
+
env["PYTHON"] = sys.executable
|
|
68
76
|
workdir.mkdir(parents=True, exist_ok=True)
|
|
69
77
|
_ensure_port_symlink(workdir)
|
|
70
78
|
return subprocess.run(
|
{freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/scripts/build.sh
RENAMED
|
@@ -219,7 +219,7 @@ if [ ! -f build/genhdr/qstrdefs.generated.h ]; then
|
|
|
219
219
|
grep -hoE "^[[:space:]]*X\([A-Z][A-Z0-9_]*\)" \
|
|
220
220
|
upstream/py/moderrno.c \
|
|
221
221
|
| sed -E 's/^[[:space:]]*X\(([A-Z][A-Z0-9_]*)\)/MP_QSTR_\1/'
|
|
222
|
-
} | "$PYTHON" gen_qstrdefs.py --bytes-hash 2
|
|
222
|
+
} | "$PYTHON" "${FREEDOS_MP_GEN_QSTRDEFS:-$(dirname "$0")/../gen_qstrdefs.py}" --bytes-hash 2
|
|
223
223
|
} > build/genhdr/qstrdefs.generated.h
|
|
224
224
|
fi
|
|
225
225
|
# Always regenerate moduledefs.h — it's small and the cache turned
|
|
@@ -63,8 +63,16 @@ fi
|
|
|
63
63
|
# moduledefs.h, mpversion.h, root_pointers.h) that py/*.c expects.
|
|
64
64
|
# Run it first if those aren't here yet.
|
|
65
65
|
if [ ! -f build/genhdr/qstrdefs.generated.h ]; then
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
# Look for build.sh next to ourselves first (CLI sets
|
|
67
|
+
# FREEDOS_MP_SCRIPTS_DIR; standalone caller likely has it as
|
|
68
|
+
# a sibling of build_port.sh).
|
|
69
|
+
BUILD_SH="${FREEDOS_MP_SCRIPTS_DIR:-$(dirname "$0")}/build.sh"
|
|
70
|
+
if [ ! -x "$BUILD_SH" ]; then
|
|
71
|
+
echo "micropython: cannot find build.sh; tried $BUILD_SH" >&2
|
|
72
|
+
exit 1
|
|
73
|
+
fi
|
|
74
|
+
echo "micropython: stub headers missing; running build.sh first." >&2
|
|
75
|
+
"$BUILD_SH" > /dev/null
|
|
68
76
|
fi
|
|
69
77
|
|
|
70
78
|
# Two ways this script gets its uc386 paths:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/__init__.py
RENAMED
|
File without changes
|
{freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/gen_qstrdefs.py
RENAMED
|
File without changes
|
|
File without changes
|
{freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/arch/cc.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/lwipopts.h
RENAMED
|
File without changes
|
{freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/math_gamma.c
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/port/mphalport.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{freedos_micro_python-0.1.0 → freedos_micro_python-0.1.1}/src/freedos_micro_python/scripts/fetch.sh
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|