473,578 Members | 3,025 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What should I use under *nix instead of freeze?

In a comment Guido made on a recent bug report for the 'freeze'
utility, he stated:

"I think nobody really cares about freeze any more -- it isn't
maintained."

That being the case, what is the preferred/best replacement for freeze
on a *nix platform? I'm looking for something that, like freeze,
turns my application into a single-file executable, of the smallest
size possible, that can be executed on a machine with no Python
installation or development system.
Feb 1 '08 #1
6 1237
On Feb 1, 3:08 pm, Mike Kent <mrmak...@cox.n etwrote:
In a comment Guido made on a recent bug report for the 'freeze'
utility, he stated:

"I think nobody really cares about freeze any more -- it isn't
maintained."

That being the case, what is the preferred/best replacement for freeze
on a *nix platform? I'm looking for something that, like freeze,
turns my application into a single-file executable, of the smallest
size possible, that can be executed on a machine with no Python
installation or development system.
This isn't a complete answer -- it requires Python, but
you might figure out a way to also embed an interpreter and
libraries.
I remember seeing such an installation somewhere (I think on
SourceForge),
but I don't remember the name of it. At any rate, this explains how
to
package your python project and libs as a self-extracting compressed
executable:

http://www.noah.org/wiki/Python_zip_exe

--
Noah Spurrier
Feb 2 '08 #2
Mike Kent wrote:
That being the case, what is the preferred/best replacement for freeze
on a *nix platform?
Don't know about best or preferred, but pyinstaller seems to do that.
<URL:http://pyinstaller.pyt hon-hosting.com>

good luck
/W
Feb 2 '08 #3
Martin v. Löwis wrote:
>That being the case, what is the preferred/best replacement for freeze
on a *nix platform?

I don't think that there is one, or that there should be one.
So haven't I understood what freeze does? Isn't pyinstaller just that?

/W
Feb 2 '08 #4
* Wildemar Wildenburger (Sat, 02 Feb 2008 01:39:05 +0100)
Mike Kent wrote:
That being the case, what is the preferred/best replacement for
freeze on a *nix platform?

Don't know about best or preferred, but pyinstaller seems to do
that. <URL:http://pyinstaller.pyt hon-hosting.com>
Doesn't work (on Linux).

Thorsten
Feb 2 '08 #5
>>That being the case, what is the preferred/best replacement for freeze
>>on a *nix platform?

I don't think that there is one, or that there should be one.

So haven't I understood what freeze does? Isn't pyinstaller just that?
No. First, it works on Windows, Linux and Irix only, not on arbitrary
*nix systems. Second, it doesn't create a single executable, but depends
on the extension modules that the host Python interpreter uses. To
compile a simple "print 'Hello, world'" with Python 2.5 on Debian, I
get an executable consisting of 22 binaries.

Regards,
Martin
Feb 2 '08 #6
On Sat, 02 Feb 2008 00:08:21 +0100, Mike Kent <mr******@cox.n etwrote:
In a comment Guido made on a recent bug report for the 'freeze'
utility, he stated:

"I think nobody really cares about freeze any more -- it isn't
maintained."

That being the case, what is the preferred/best replacement for freeze
on a *nix platform? I'm looking for something that, like freeze,
turns my application into a single-file executable, of the smallest
size possible, that can be executed on a machine with no Python
installation or development system.
Never used it, but it seems cx_Freeze
(http://python.net/crew/atuining/cx_Freeze/) does just that... Don't know
if it's maintained anymore, but versions are available for the latest
Python version (2.5).

HTH
--
python -c "print ''.join([chr(154 - ord(c)) for c in
'U(17zX(%,5.zmz 5(17l8(%,5.Z*(9 3-965$l7+-'])"
Feb 4 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

92
6398
by: Reed L. O'Brien | last post by:
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption? cheers, reed
2
1896
by: aww91 | last post by:
Company is planning a Sybase to UDB migration that is projected to take 1 year. During that long period of time any Code Freeze put into place would impact our users (we normally release code changes once a month). Any suggestions on how to manage a partial code freeze while under going a major migration like this one?
2
1409
by: mrstephengross | last post by:
I'm working with the freeze utility, and I'm trying to learn the basics. For the most part, I think I understand how it works. I have a question about modules, though. I want to make sure that my native executable is entirely standalone. That is, it should have no dynamic linking. I've read through a number of posts on the subject, and...
4
13840
by: Roger Withnell | last post by:
I would like to freeze column and row headings on a webpage, simulating freeze panes as in an Excel spreadsheet. Don't seem to be able to do it with Frames. Is there a way with Javascript and/or CSS and or Frames? Thanks in anticipation.
92
4333
by: Ray | last post by:
I just moved to another company that's mainly a Java/.NET shop. I was happy to find out that there's a movement from the grassroot to try to convince the boss to use a dynamic language for our development! Two of the senior developers, however, are already rooting for Ruby on Rails--although they haven't tried RoR themselves. When I...
1
3172
by: jmalone | last post by:
I have a python script that I need to freeze on AIX 5.1 (customer has AIX and does not want to install Python). The python script is pretty simple (the only things it imports are sys and socket). The README file in the Tools/freeze directory of the Python-2.4.4 distribution says the following (and many other things): Previous...
1
2458
by: Cameron Laird | last post by:
How is Freeze--freeze.py <URL: http://wiki.python.org/moin/Freeze >--packaged for Debian? *Is* it packaged for Debian?
4
7019
by: ToxSox | last post by:
Hello. This is my first post here and i have a big problem with my script! One page (child.htm), was delivered not by me and i can't change it. This page calls a methode in a object of my page. I have opened the child.htm in a popup, so by opener.API the child.htm page can user the methodes which was defined in my API Obnject on...
2
2639
by: Gabriel Rossetti | last post by:
Hello everyone, I'm trying to use python's freeze utility but I'm running into problems. I called it like this : python /usr/share/doc/python2.5/examples/Tools/freeze/freeze.py ~/Documents/Code/Python/src/jester/service.py -m jester then I did : make
0
7847
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7778
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8290
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7874
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6522
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5342
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3798
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2292
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1389
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.