[Python Wpg] Distributing Python applications to Windows users

Stuart Williams stuart at swilliams.ca
Thu Jan 13 19:15:16 EST 2011


See this for starters:
https://py2exe.svn.sourceforge.net/svnroot/py2exe/trunk/py2exe/py2exe/samples/extending/setup.py

It's probably more than you need.  I also found some similar examples via
codesearch.google.com looking for specific strings from the comments in that
file, because lots of projects have copied that file and modified it in
various ways.

Stuart.

On Wed, Jan 12, 2011 at 10:16 PM, Stuart Williams <stuart at swilliams.ca>wrote:

> I have experience.  The py2exe program is good with a InnoSetup config in
> the setup.py code to create a Windows installer.  I'll send a simple example
> tomorrow.  Remind me if I forget - I'm very busy this week.
>
> Stuart.
>
> On Wed, Jan 12, 2011 at 10:03 PM, Kevin Veroneau <kveroneau at gmail.com>wrote:
>
>> Hello everyone,
>>
>> Does anybody have experience in deploying a Python application to Windows
>> users, assuming they do not have Python installed?  Is it possible to make
>> the installation seamless using InnoSetup?
>>
>> The only issues I can think of, would be if the Python application was
>> developed using Qt4, GTK, or SDL, how would one also install these required
>> dependencies?  Is there a native Windows GUI module for Python?  If so, one
>> could try to import the various front-end GUI toolkits until one is
>> successfully imported without raising an exception.  It would then use that
>> front-end to display the application GUI for the user, and use the same
>> models and application controllers globally for all front-ends.
>>
>> I see this being a huge advantage to coding multi-platform applications in
>> Python, since it is an interpreted language, during start-up it can
>> automatically determine the optimum front-ends and back-ends to use during
>> program execution, without requiring to dynamically linking to each
>> Library(like a traditional compiler does).
>>
>> Is it possible to bind an entire Python application and the interpreter
>> into a single EXE for easy deployment, or a similar method?
>>
>> Thanks,
>>   Kevin Veroneau
>>
>>
>> _______________________________________________
>> Winnipeg Python Users Group mailing list
>> http://WinniPUG.ca
>> Winnipeg at python.org
>> http://mail.python.org/mailman/listinfo/winnipeg
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/winnipeg/attachments/20110113/a5796183/attachment.html>


More information about the Winnipeg mailing list