-
Notifications
You must be signed in to change notification settings - Fork 3
Build windows binary
Federico Tomassetti edited this page Jan 25, 2015
·
3 revisions
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