Re: freeze.py

2014-04-30 Thread Ethan Furman
On 04/30/2014 07:42 PM, Ben Finney wrote: Ethan Furman writes: I'm running ubuntu 13.04, I have installed python2.7-dev and python2.7-example, but when I try to run freeze.py I get: Error: needed directory /usr/lib/python2.7/config not found Where is ‘freeze.py’? Is there document

Re: freeze.py

2014-04-30 Thread Ben Finney
Ethan Furman writes: > I'm running ubuntu 13.04, I have installed python2.7-dev and > python2.7-example, but when I try to run freeze.py I get: > > Error: needed directory /usr/lib/python2.7/config not found Where is ‘freeze.py’? Is there documentation provided for the ins

freeze.py

2014-04-30 Thread Ethan Furman
I'm running ubuntu 13.04, I have installed python2.7-dev and python2.7-example, but when I try to run freeze.py I get: Error: needed directory /usr/lib/python2.7/config not found I have the source for Python2.7 which I configured and built, but a search in that tree for a config fil

I need help/information on Freeze.py

2011-08-10 Thread mike turner
Hello all, How do you use freeze.py to freeze an application? I have an application built with pylons and I want to make it into a portable executable, is that possible? Thanks for the help. - mikey -- http://mail.python.org/mailman/listinfo/python-list

Re: Intra-package C extensions with freeze.py

2010-02-24 Thread mk
leanly, in case such inner C extensions are involved ? Does any of the freezers (freeze.py, py2exe, pyrex, cx_freeze...) do that ? I haven't seen such things so far in their docs. Go for pyinstaller, I have successfully packaged an app using compiled C extensions this way. Although y

Intra-package C extensions with freeze.py

2010-01-13 Thread Pascal Chambon
Hello everyone Some times ago, I've had unexpected problems while trying to freeze some scripts into a standalone executable with the "freeze.py" script. I had already done it : normally, you simply freeze pure python modules into a standalone executable, you package it al

Re: using freeze.py with python3

2009-12-10 Thread Gabriel Genellina
En Wed, 09 Dec 2009 17:04:45 -0300, Patrick Stinson escribió: Has anyone tried using Python-3.1.1/Tools/freeze/freeze.py with the encodings package? It appears that encodings is required to intialize the interpreter, but PyImport_ImportFrozenModule is failing for the "encodings"

using freeze.py with python3

2009-12-09 Thread Patrick Stinson
Has anyone tried using Python-3.1.1/Tools/freeze/freeze.py with the encodings package? It appears that encodings is required to intialize the interpreter, but PyImport_ImportFrozenModule is failing for the "encodings" module in marshal.c:r_object(), after trying to demarshal an object

freeze.py - resolving dependencies

2008-02-25 Thread Rakesh Kumar
hi - I wrote a wxWidgets program and was trying to convert the python script to native python code. After running freeze.py on my source file - I am getting the following unknown modules error. Warning: unknown modules remain: _bisect _heapq _locale _random _socket _ssl _struct _tkinter array

Re: Bug/Patch: Problem with xml/__init__.py when using freeze.py

2008-01-31 Thread Gabriel Genellina
En Thu, 31 Jan 2008 13:16:47 -0200, glomde <[EMAIL PROTECTED]> escribió: > I tried to do freeze.py for my script that uses ElementTree. > But got the this error: > > File "/usr/lib/python2.5/xml/__init__.py", line 45, in > _xmlplus.__path__.extend(__path__) &

Bug/Patch: Problem with xml/__init__.py when using freeze.py

2008-01-31 Thread glomde
Hi, I tried to do freeze.py for my script that uses ElementTree. But got the this error: File "/usr/lib/python2.5/xml/__init__.py", line 45, in _xmlplus.__path__.extend(__path__) AttributeError: 'str' object has no attribute 'extend' The reason seems that

freeze.py and dom.minidom

2007-03-20 Thread Greg Copeland
I am attempting to freeze an application which uses the dom.minidom parser. When I execute my application, I get an import error of: ImportError: No module named dom.minidom. During the freeze process, I can see: freezing xml ... freezing xml.dom ... freezing xml.dom.NodeFilter ... freezing xml.d

Re: Python's freeze.py utility

2007-02-15 Thread Gabriel Genellina
En Thu, 15 Feb 2007 21:18:51 -0300, Mitko Haralanov <[EMAIL PROTECTED]> escribió: > OK, this might be a stupid question: for the life of me, I can't find > Python's freeze.py utility in the Python distribution that comes with > FC6. > > Has it been removed fro

Python's freeze.py utility

2007-02-15 Thread Mitko Haralanov
OK, this might be a stupid question: for the life of me, I can't find Python's freeze.py utility in the Python distribution that comes with FC6. Has it been removed from the distribution? Has it been removed from Python? I have FC6's python-2.4.4 rpms installed (python, pytho

Re: Using Tools/freeze.py on AIX -- having problems

2006-12-22 Thread [EMAIL PROTECTED]
2, in ? > File "/usr/local/lib/python2.4/socket.py", line 45, in ? > import _socket > ImportError: No module named _socket > # There's this note in freeze.py: """ The script should not use modules provided only as shared libraries; if it does, the resulting

Using Tools/freeze.py on AIX -- having problems

2006-12-22 Thread jmalone
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 (an

Re: freeze.py builds, but binary doesn't even run locally (shared GTK problem?)

2006-04-08 Thread Martin v. Löwis
[EMAIL PROTECTED] wrote: > from _gtk import * > > ImportError: No module named _gtk If you look at the freeze output, you'll notice that _gtk is not linked into your application: It is a shared library (.so), so it can't be frozen. Instead, the resulting binary will look for _gtk.so on sys.p

freeze.py builds, but binary doesn't even run locally (shared GTK problem?)

2006-04-07 Thread kristian . hermansen
in() if __name__ == "__main__": hello = HelloWorld() hello.main() [EMAIL PROTECTED]:/tmp$ /usr/share/doc/python2.4/examples/Tools/freeze/freeze.py helloworld.py Name File m BaseHTTPServer/usr/lib/python2.4/

wxPython problem with freeze.py

2006-04-05 Thread ianaré
I have a wxPython application that i can run no problem from source, now i want to freeze it for distribution. I tried the freeze.py script and got the following output: freezing Frame1 ... freezing UserDict ... freezing __main__ ... freezing codecs ... freezing copy ... freezing copy_reg

Re: freeze.py and GTK apps

2006-03-28 Thread Kristian Hermansen
On 3/28/06, Adam DePrince <[EMAIL PROTECTED]> wrote: > When your Python installation uses shared library modules such as > _tkinter.pyd, these will not be incorporated in the frozen program. > Again, the frozen program will work when you test it, but it won't > work when you ship it to a site wit

Re: freeze.py and GTK apps

2006-03-28 Thread Adam DePrince
On Mon, 2006-03-27 at 16:15 -0800, [EMAIL PROTECTED] wrote: > After freezing a PYGTK app, I am unable to run it. It this a common > problem, because I could not find any documentation on it at all. > > I tried freezing this example, which gets by the make as well, but > running it results in a fa

freeze.py and GTK apps

2006-03-27 Thread kristian . hermansen
After freezing a PYGTK app, I am unable to run it. It this a common problem, because I could not find any documentation on it at all. I tried freezing this example, which gets by the make as well, but running it results in a failure. This is on Ubuntu Linux: http://www.moeraki.com/pygtktutorial/

Trouble with "freeze.py" importing 3rd Party Modules

2005-11-13 Thread Michael Williams
Can anyone explain why "freeze.py" will make binaries with the std modules fine, however, when using 3rd party modules (Pexpect in particular) it requires the target system to actually have it installed? Thanks in advance, Mike -- http://mail.python.org/mailman/listinfo/python-list