[python-win32] Creating standalone executable

J.D. Main jdmain at comcast.net
Tue Jan 6 18:30:32 CET 2015


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 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 that can 
> be run in any folder, and nothing else - that is, standalone.
>
> Regards
>
> John Sampson
>
> On 06/01/2015 13:07, Graeme Glass wrote:
>> Yes it is.
>>
>> http://www.py2exe.org/
>> http://cx-freeze.sourceforge.net/
>>
>>
>>
>> On 6 January 2015 at 14:50, John Sampson <jrs.idx at ntlworld.com 
>> <mailto:jrs.idx at 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 folder and contains or finds the libraries, modules etc. that
>>     it depends on.
>>
>>     Regards
>>
>>     John Sampson
>>     _______________________________________________
>>     python-win32 mailing list
>>     python-win32 at python.org <mailto:python-win32 at python.org>
>>     https://mail.python.org/mailman/listinfo/python-win32
>>
>>
>
>
>
> _______________________________________________
> python-win32 mailing list
> python-win32 at 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/476fdcd5/attachment.html>


More information about the python-win32 mailing list