2

Anybody know how this can be done? I took a look at cx_Freeze, but it seems that it doesn't compile everything necessary into one binary (i.e., the python builtins aren't present).

6
  • 1
    cx_Freeze works fine for me, at least on Windows (never tried on Linux). If the builtins were missing, that would be a pretty severe but - I doubt it would stay unnoticed. That being said, if it missing a dependency, you can also explicitly tell it to include it (refer to docs). Commented Nov 9, 2010 at 21:44
  • 2
    Why would you want this? Just make a deb and rpm if you want to make it easy to install. Commented Nov 9, 2010 at 21:48
  • John, what version of python is installed on your os and what version of cx_freeeze does you use? Commented Nov 9, 2010 at 22:08
  • Python is included on most all Unix/Unix-like systems, so I don't see the use of this... Commented Nov 9, 2010 at 22:11
  • @Rafe Kettler: Not always in necessary version. RHEL has ancient versions of python. Commented Nov 9, 2010 at 22:36

1 Answer 1

4

The standard freeze tool (from Tools/freeze) can be used to make fully-standalone binaries on Unix, including all extension modules and builtins (and omitting anything that is not directly or indirectly imported).

Sign up to request clarification or add additional context in comments.

1 Comment

Had no clue about that. Thanks so much, it sounds like exactly what I need.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.