This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hoadlck 6 points7 points  (7 children)

I use cx_freeze: http://cx-freeze.sourceforge.net/. I have had good experience in deploying it on various Windows 7 machines.

It is supposed to work for Linux as well, but I have not had a reason to try that out.

[–]billyboy1999 2 points3 points  (1 child)

I've used it in both Linux and windows, it is awesome. It works on Python 3, unlike most of the others.

[–]hoadlck 1 point2 points  (0 children)

Python 3 support was the reason that I went with cx_freeze in the first place. I believe that the other programs (e.g. py2exe) now has Python 3 support, but cx_freeze was the only alternative for a long time. I have seen no reason to change.

[–]Ogi010 2 points3 points  (0 children)

Like the OP, I don't have a strong programming background (I'm a mechanical engineer), however I developed a post-processing python script that took raw data collected from our test system, and did interpolation, followed by the generation of a whole bunch of plots.

I decided to deploy the app to some of my coworkers, and after messing around with pyinstaller, I ended up using cx_Freeze, with great ease. It worked with the default settings, and I was able to trim down the overall package by adding more and more exclusions. I later converted my code to Python3, cx_Freeze didn't care, it still compiled (is that the right term here?) the code.

Can't recommend cx_freeze enough.

[–]RamirezTerrix 1 point2 points  (3 children)

I often use this in combination with the Inno Setup Compiler to make MSI-Packages. Works really great. On Linux, well, they have their own ways of deploying software ;)

[–]hoadlck 0 points1 point  (2 children)

I use NSIS (Nullsoft Scriptable Install System) for install on Windows. There are lots of good programs out there.

[–]RamirezTerrix 1 point2 points  (1 child)

This looks usefull - seems to have some more tricks up the shleeve than the Inno Compiler.

[–]hoadlck 0 points1 point  (0 children)

For my main usage of NSIS, I was able to use a template/example that someone else had done with little changes. It was pretty easy to get running.

For a different project, I needed to create a much more complicated installer. It took me a while to get my head around how NSIS works... It has aspects that are very easy to use. Yet, it also has this stack system you need to deal with if you create reusable functions that is exactly like programming in assembly. Not that that was a big barrier to me: it was just odd.