https://github.com/pybricks/python-mpy-cross-multi
https://github.com/pybricks/python-mpy-cross-multi
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pybricks/python-mpy-cross-multi
- Owner: pybricks
- Created: 2024-05-04T22:06:52.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-08T13:32:20.000Z (about 2 years ago)
- Last Synced: 2025-07-19T09:53:09.203Z (11 months ago)
- Language: Python
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python packaging for multi-target mpy-cross
This repository contains Python packaging to distribute the `mpy-cross` tool
from [MicroPython](https://github.com/micropython/micropython) via PyPI.
This package includes multiple versions of `mpy-cross` to support different
MicroPython runtime versions.
## Installation
To install the latest version of `mpy-cross-multi`:
pip install mpy-cross-multi
## Usage
This package can be used programmatically or as a command line script.
### Script
This can be used just like the original `mpy-cross` tool: by substituting
the name `mpy-cross` with `mpy-cross-multi` in the command line.
mpy-cross-multi --version
It has an optional extra command line option to target older MicroPython
runtimes. The oldest support MicroPython runtime is v1.12.
mpy-cross-multi --micropython 1.22 ...
### API
TODO