[Tutor] freeze

Kent Johnson kent37 at tds.net
Sat Feb 5 22:22:11 CET 2005


Shitiz Bansal wrote:
> Hi,
> 
> Do exe files generated by py2run on linux???i thought
> it was only for windows.

py2exe makes Windows executables only.
http://starship.python.net/crew/theller/py2exe/

Kent

> 
> Shitiz
> --- "Jacob S." <keridee at jayco.net> wrote:
> 
> 
>>My two bits.
>>
>>1) Download py2exe found here
>>http://py2exe.sourceforge.net/
>>2) Make a setup file -- intructions can be found
>>through above link, I 
>>think.
>>(Hey that rhymes!)
>>3) Ask if you want my totally cool automation
>>technique
>>4) Ask more questions, go on we don't mind.
>>
>>HTH,
>>Jacob Schmidt
>>
>>
>>>Hi,
>>>
>>>I intend to create compiled python binaries on
>>
>>linux.
>>
>>>I understand that freeze can be used to do this.
>>>But I have few doubts i would like to clarify.
>>>
>>>1. In the freeze documentation i found the lines:
>>>
>>>"One tricky issue: Freeze assumes that the Python
>>>interpreter and
>>>environment you're using to run Freeze is the same
>>
>>one
>>
>>>that would be
>>>used to run your program, which should also be the
>>>same whose sources
>>>and installed files you will learn about in the
>>
>>next
>>
>>>section.  In
>>>particular, your PYTHONPATH setting should be the
>>
>>same
>>
>>>as for running
>>>your program locally.  (Tip: if the program
>>
>>doesn't
>>
>>>run when you type
>>>"python hello.py" there's little chance of getting
>>
>>the
>>
>>>frozen version
>>>to run.)"
>>>
>>>My intention is to create files which can be run
>>
>>on
>>
>>>Linux systems with python not installed.Do the
>>
>>above
>>
>>>lines mean that freeze can't do it(which defeats
>>
>>the
>>
>>>very pupose of the program i guess.).
>>>
>>>2. While compiling with freeze....it seems that it
>>
>>is
>>
>>>including all the available modules, even if they
>>
>>are
>>
>>>not required.Of course using freeze -X is one
>>>option,but it being really cumbersome, is there a
>>>better option available.
>>>
>>>In case the above issues do present a problem, is
>>>there any alternative to freeze?
>>>
>>>Shitiz
>>>
>>>
>>>
>>>__________________________________
>>>Do you Yahoo!?
>>>The all-new My Yahoo! - Get yours free!
>>>http://my.yahoo.com
>>>
>>>
>>>_______________________________________________
>>>Tutor maillist  -  Tutor at python.org
>>>http://mail.python.org/mailman/listinfo/tutor
>>>
>>>
>>
>>
> 
> 
> 
> 	
> 		
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Mail - You care about security. So do we. 
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
> 



More information about the Tutor mailing list