namecoin / nmcontrol

Namecoin Control. This repo is deprecated in favor of https://github.com/namecoin/ncdns
136 stars 38 forks source link

Investigate PyInstaller alternatives #36

Open JeremyRand opened 10 years ago

JeremyRand commented 10 years ago

cx_Freeze appears to have a much better feature set than PyInstaller, including support for generating Windows MSI installers, Linux RPM packages, and support for Python 3. We should investigate whether it would be a good idea to switch at some point.

http://cx-freeze.sourceforge.net/

Relevant to https://github.com/namecoin/nmcontrol/issues/34 and https://github.com/namecoin/nmcontrol/issues/33

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/3036019-investigate-pyinstaller-alternatives?utm_campaign=plugin&utm_content=tracker%2F435873&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F435873&utm_medium=issues&utm_source=github).
JeremyRand commented 9 years ago

cx_Freeze apparently has difficulty generating Windows binaries from Linux; see https://stackoverflow.com/questions/17276543/how-to-use-cx-freeze-in-linux-to-create-a-package-to-be-used-in-windows . This is allegedly a WINE bug. I'm not sure how PyInstaller compares here.

JeremyRand commented 9 years ago

In contrast to cx_Freeze, PyInstaller seems to have the ability to use WINE: https://github.com/paulfurley/python-windows-packager . However, I'm not sure how scriptable this is, and the examples given use insecure HTTP links to download dependencies.

JeremyRand commented 9 years ago

Just to clarify, cx_Freeze only has difficulty in the sense that you need to manually copy in some .dll files afterward. This doesn't mean that cx_Freeze is unworkable for us.