Skip to content

Build windows binary

Federico Tomassetti edited this page Jan 25, 2015 · 3 revisions

From Linux

The suggested approach is to use a specific docker image: https://github.com/ogrisel/python-winbuilder

To do that install docker. In Ubuntu you can do that with:

sudo apt install docker.io

Supposing you have the pyplatec code check out under ~/repos/pyplatec run:

docker run -t -i -v ~/repos:/code ogrisel/python-winbuilder bash

In the wine console move to the pyplatec directory:

cd ../code/pyplatec

It will download a large docker image and open a bash console into the image. From there we can run a wine console:

WINEPREFIX=/wine/wine-py2.7.8-64 wineconsole --backend=curses cmd
Clone this wiki locally