Re: [python-win32] Creating standalone executable

2015-01-06 Thread Graeme Glass
Yes it is. http://www.py2exe.org/ http://cx-freeze.sourceforge.net/ On 6 January 2015 at 14:50, John Sampson jrs@ntlworld.com wrote: Is it possible to create a standalone executable (.EXE file) from a Python script? By 'standalone' I mean an executable file that can be placed in any

[python-win32] Creating standalone executable

2015-01-06 Thread John Sampson
Is it possible to create a standalone executable (.EXE file) from a Python script? By 'standalone' I mean an executable file that can be placed in any folder and contains or finds the libraries, modules etc. that it depends on. Regards John Sampson

Re: [python-win32] Creating standalone executable

2015-01-06 Thread Jacob Kruger
Was also going to mention pyInstaller - once it's installed, there'll be an executable in your python/scripts directory, and something like the following command line from your directory where your source is will try to generate a single file executable - something like the following:

Re: [python-win32] Creating standalone executable

2015-01-06 Thread Zachary Ware
On Tue, Jan 6, 2015 at 10:59 AM, John Sampson jrs@ntlworld.com wrote: I tried py2exe but the executable file has to be in a specific folder along with many other files that py2exe generates. It therefore cannot be placed in any folder. As far as I can see cx-freeze produces a folder, not a

Re: [python-win32] Creating standalone executable

2015-01-06 Thread J.D. Main
I've had good success with PyInstaller. https://github.com/pyinstaller/pyinstaller/wiki I like it better than Py2Exe - it seems to just work without a lot of fiddling. JDM On 1/6/2015 9:59 AM, John Sampson wrote: I tried py2exe but the executable file has to be in a specific folder along

Re: [python-win32] Creating standalone executable

2015-01-06 Thread Zachary Turner
Never used it before, so take this with a grain of salt, but try this: http://nuitka.net/pages/overview.html AFAIK it's still not considered a stable release, but it might be worth checking out. On Tue Jan 06 2015 at 9:00:02 AM John Sampson jrs@ntlworld.com wrote: I tried py2exe but the

Re: [python-win32] python-win32 Digest, Vol 142, Issue 5

2015-01-06 Thread Michael Watson
@python.org https://mail.python.org/mailman/listinfo/python-win32 -- next part -- An HTML attachment was scrubbed... URL: http://mail.python.org/pipermail/python-win32/attachments/20150106/47e43b52/attachment-0001.html -- Message: 2 Date

[python-win32] Creating standalone executable

2015-01-06 Thread John Sampson
I tried py2exe but the executable file has to be in a specific folder along with many other files that py2exe generates. It therefore cannot be placed in any folder. As far as I can see cx-freeze produces a folder, not a single file. I am looking for a way of producing a single executable file

Re: [python-win32] Creating standalone executable

2015-01-06 Thread Harald Armin Massa[legacy]
John, you should read under http://www.py2exe.org/index.cgi/SingleFileExecutable 1 http://www.py2exe.org/index.cgi/SingleFileExecutable#CA-7615755cbd8c1a2a3a7d2b593a265f3ed4c42c76_1 from distutils.core import setup 2

Re: [python-win32] Creating standalone executable

2015-01-06 Thread Harald Armin Massa[legacy]
John, you should read under http://www.py2exe.org/index.cgi/SingleFileExecutable 1 http://www.py2exe.org/index.cgi/SingleFileExecutable#CA-7615755cbd8c1a2a3a7d2b593a265f3ed4c42c76_1 from distutils.core import setup 2