Re: Freezing python files into executables

2009-11-05 Thread Aahz
In article , Mike Driscoll wrote: > >Something that you might want to try in the future is GUI2Exe, which >allows you to play with a whole slew of freezing modules: Does GUI2Exe work from just the command-line? I spent a fair amount of time getting rid of the Mac GUI .pkg creator and I sure don

Re: Freezing python files into executables

2009-11-03 Thread Rami Chowdhury
On Tue, 03 Nov 2009 11:15:39 -0800, Girish Venkatasubramanian wrote: Hello, I have been using freeze.py on 32 bit linux distributions without a problem. But recently I tried to do the same on RHEL5 x86_64 and ran into some issues. 1) When I ran the script, I got Error: needed directory /usr/

Re: Freezing python files into executables

2009-11-03 Thread Mike Driscoll
On Nov 3, 3:23 pm, Girish Venkatasubramanian wrote: > Will try that. > > Meanwhile I went ahead and used cx_freeze and that seems to work OK. > > Thanks for your help Rami and Marc-Andre. Something that you might want to try in the future is GUI2Exe, which allows you to play with a whole slew of

Re: Freezing python files into executables

2009-11-03 Thread Rami Chowdhury
On Tue, 03 Nov 2009 11:57:17 -0800, Girish Venkatasubramanian wrote: I checked and ls /usr/lib64/python2.4/config/ returns config.c config.c.in install-sh libpython2.4.a Makefile makesetup python.o Setup Setup.config Setup.local so I am guessing the python-devel installation went off OK, fro

Re: Freezing python files into executables

2009-11-03 Thread Girish Venkatasubramanian
Hi Rami, Thanks for pointing this out. I did see that point - but apart from installing python-devel (which has created and populated /usr/lib64/python2.4/...) I am not sure what I should do - is there some setting in python where I can ask it to look at lib64 instead of lib? Thanks. On Tue, Nov 3

Re: Freezing python files into executables

2009-11-03 Thread M.-A. Lemburg
Rami Chowdhury wrote: > On Tue, 03 Nov 2009 11:15:39 -0800, Girish Venkatasubramanian > wrote: > >> Hello, >> I have been using freeze.py on 32 bit linux distributions without a >> problem. But recently I tried to do the same on RHEL5 x86_64 and ran >> into some issues. >> >> 1) When I ran the sc

Re: Freezing python files into executables

2009-11-03 Thread M.-A. Lemburg
Girish Venkatasubramanian wrote: > Hey Marc-Andre, > Ummm - I have installed python-devel.x86_64 and checked that the > /usr/lib64/python2.4/ is populated - anything else I can/shuld do to > check/ensure the the devel rpm is installed? If you have the config/ sub-dir in there, things should be fin

Re: Freezing python files into executables

2009-11-03 Thread Girish Venkatasubramanian
Will try that. Meanwhile I went ahead and used cx_freeze and that seems to work OK. Thanks for your help Rami and Marc-Andre. On Tue, Nov 3, 2009 at 12:31 PM, Rami Chowdhury wrote: > On Tue, 03 Nov 2009 11:57:17 -0800, Girish Venkatasubramanian > wrote: > >> I checked and ls /usr/lib64/python2

Re: Freezing python files into executables

2009-11-03 Thread Girish Venkatasubramanian
Hey Marc-Andre, Ummm - I have installed python-devel.x86_64 and checked that the /usr/lib64/python2.4/ is populated - anything else I can/shuld do to check/ensure the the devel rpm is installed? Thanks. On Tue, Nov 3, 2009 at 11:32 AM, M.-A. Lemburg wrote: > Rami Chowdhury wrote: >> On Tue, 03 No

Freezing python files into executables

2009-11-03 Thread Girish Venkatasubramanian
Hello, I have been using freeze.py on 32 bit linux distributions without a problem. But recently I tried to do the same on RHEL5 x86_64 and ran into some issues. 1) When I ran the script, I got Error: needed directory /usr/lib/python2.4/config not found 2) Then I "yum install python-devel" which

Re: Freezing python files into executables

2009-11-03 Thread Girish Venkatasubramanian
I checked and ls /usr/lib64/python2.4/config/ returns config.c config.c.in install-sh libpython2.4.a Makefile makesetup python.o Setup Setup.config Setup.local so I am guessing the python-devel installation went off OK, from what you say. I looked at the freeze.py code and I see your point. But f