Page 1 of 1

Unix (or MacOS or Windows) Port Installation

Posted: Fri May 15, 2020 7:51 pm
by patrickw
I searched the docs and this forum and didn't find an answer.

Is doing a build the only way to install the Unix (or MacOS or Windows) Ports?

I can download a firmware for my TinyPico, but don't see that for the other non-hardware ports.
I'm primarily interested in MacOS, but thought I'd ask the question more generally.

Thanks!
-p

Re: Unix (or MacOS or Windows) Port Installation

Posted: Fri May 15, 2020 9:19 pm
by SpotlightKid
Some Linux distributions have packages for MicroPython, which install the Unix port.

For MacOS you could look at homebrew, maybe they have a package for it?

Providing pre-compiled binaries on the MicroPython website for different Linux distributions and MacOS versions and keeping them up-to-date is probably a lot of work, unless you set up a build server to automate it. And since MicroPython is rather easy to compile and doesn't have that many requirements, it's a matter of weighing the effort against the benefits.

Re: Unix (or MacOS or Windows) Port Installation

Posted: Fri May 15, 2020 9:32 pm
by dhylands
It looks like you can install micropython on MacOS using:

Code: Select all

brew install micropython
That gave me this version:

Code: Select all

$ micropython
MicroPython v1.12 on 2020-04-18; darwin version
Use Ctrl-D to exit, Ctrl-E for paste mode
>>> 
If you don't have homebrew installed, you can get it here

Re: Unix (or MacOS or Windows) Port Installation

Posted: Fri May 15, 2020 9:51 pm
by patrickw
Thanks Dave,

I didn't think to check brew. /*facepalm*/

I'll find a place to add this information to the docs.
If you have a preference for where feel free to tell me though.

Thanks again!

Re: Unix (or MacOS or Windows) Port Installation

Posted: Fri May 15, 2020 10:00 pm
by patrickw
Since I'm going document this, if anyone has Windows instructions post those as well.

Cheers!
-p

Re: Unix (or MacOS or Windows) Port Installation

Posted: Sat May 16, 2020 6:37 am
by stijn
There are no Windows packages I'm aware of (not in chocolatey or scoop). However it might actually be pretty easy to have e.g. the latest build from master available for download from the build system i.e. Appveyor, I'll look into it.

Re: Unix (or MacOS or Windows) Port Installation

Posted: Sat May 16, 2020 9:51 am
by stijn