Page 1 of 1

mpy-cross, how to build binary for windows

Posted: Wed May 29, 2019 7:19 pm
by apollo2mond
Hi all,
I need help regarding how to build a mpy-cross binary for windows.

Many thanks!

Re: mpy-cross, how to build binary for windows

Posted: Sat Jun 01, 2019 6:55 pm
by WRR
Have you tried installing it with pip? It looks like it has Windows builds available on PyPi:

https://pypi.org/project/mpy-cross/

You can probably install it like a normal Python package:

Code: Select all

pip install mpy-cross
or

Code: Select all

pip3 install mpy-cross

Re: mpy-cross, how to build binary for windows

Posted: Sun Jun 02, 2019 5:26 pm
by apollo2mond
Thanks, I was not aware that it is so simple!

Re: mpy-cross, how to build binary for windows

Posted: Mon Jun 03, 2019 7:36 am
by stijn
For reference, since the title asks about building, there are alternatives: there's a Makefile which can be built using gcc for windows (i.e. from Mingw-w64, can be obtained as part of Cygwin or MSYS2) and a project file for Msvc is on it's way.