This also improves how mpy-cross is downloaded or built: These activities happen in the user's "cache" directory (e.g., $HOME/.cache on Linux/Mac, some other folder on Windows)
this also enables sharing the copy of mpy-cross across multiple repos.
Testing performed: with a pip install -e . of this library, just ran a local build of jepler_udecimal: circuitpython-build-bundles --filename_prefix jepler_udecimal --library_location ., as well as testing invocation of mpy-cross above.
The idea of having a download & run wrapper around mpy-cross originates with https://pypi.org/project/mpy-cross-multi/ but re-uses our existing infra for downloading or building mpy-cross as needed, instead of uploading binary artifacts to pypi.
This adds the ability to (download or build, then) invoke any supported version of mpy-cross:
This also improves how mpy-cross is downloaded or built: These activities happen in the user's "cache" directory (e.g., $HOME/.cache on Linux/Mac, some other folder on Windows)
this also enables sharing the copy of mpy-cross across multiple repos.
Testing performed: with a
pip install -e .
of this library, just ran a local build of jepler_udecimal:circuitpython-build-bundles --filename_prefix jepler_udecimal --library_location .
, as well as testing invocation of mpy-cross above.The idea of having a download & run wrapper around mpy-cross originates with https://pypi.org/project/mpy-cross-multi/ but re-uses our existing infra for downloading or building mpy-cross as needed, instead of uploading binary artifacts to pypi.