Reputation: 71
I recently built an application, for a client, which has several python files. I use ubuntu, and now that I am finished, I would like to give this to the client in a way that would make it easy for her to use in windows.
I have looked into py2exe with wine, as well as cx_freeze and some other stuff, but cannot find a straightforward tutorial or useful documentation for turning many python files in ubuntu into an easy-to-use windows application or executable or anything really.
Thanks!
Upvotes: 7
Views: 4841
Reputation: 19644
This page appears to have a solution, as the asker didn't reply:
from distutils.core import setup import py2exe setup(name="vervang", scripts=["vervang.py"], )
wine python.exe setup.py py2exe
This page says the resulting binaries might not be valid Win32 executables, though.
Upvotes: 2
Reputation: 727
py2exe will not work on linux. Try pyinstaller it is a pure python implementation that will work on linux, mac and windows.
Upvotes: 1