Use distribution of mpy-cross as default for %mpy-cross command#27
Open
andrewleech wants to merge 1 commit intogoatchurchprime:masterfrom
Open
Use distribution of mpy-cross as default for %mpy-cross command#27andrewleech wants to merge 1 commit intogoatchurchprime:masterfrom
andrewleech wants to merge 1 commit intogoatchurchprime:masterfrom
Conversation
Also support '*' in filename to run on multiple files
Owner
|
How did you solve this problem? micropython/micropython#3410 |
Contributor
Author
|
Ah, well it's not exactly solved... however my builder has released copies for all tagged builds of micropython. As such, if you're using an old version of micropython you could install a matching version of mpy-cross. Similarly if there's a new syntax change in master, I've got regular builds from master available on the gitlab page, so you could an update. I don't have any method in place to detect when an incorrect version is used however with the current versions it should tell us itself? micropython/micropython#3357 (comment) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
So I've gone and made an auto-compiler for mpy-cross:
https://gitlab.com/alelec/mpy_cross
It builds copies of mpy-cross for osx, linux (32 and 64 bit) and windows (32 and 64 bit).
Every micropython tag and master once a week.
Tag releases are bundled into python wheels and released on pypi, ready for use here :-)
https://pypi.python.org/pypi/mpy-cross
This PR brings in mpy_cross as a dependency and then uses the bundled binary by default.
This can still be overridden with the original
set-exeif needed.Also now supports '*' in filename to run on multiple files