Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I bundle a PyGTK program in windows so my users don need to install Python or the GTK+ libs?

0
Posted

How can I bundle a PyGTK program in windows so my users don need to install Python or the GTK+ libs?

0

On win32, you should give py2exe [www.py2exe.org] a try. It works with pygtk. Once your code is frozen, you can create an installer with Inno Setup for example. Michal Pasternak recommends giving cxFreeze a try: [starship.python.net] . It works in a different way than py2exe and McMillan Installer; it’s faster building the package, and it doesn’t automatically include all the DLLs. The gtk+-2.x runtime environment is available here, and also as a nice installer: [gladewin32.sourceforge.net] Other alternatives may include Gordon McMillan’s installer which used to be available at [www.mcmillan-inc.com] ([web.archive.org] waybackmachine copy) – he had an overview of the other options as well in the right-hand column of that page. [www.anti-particle.com] describes one example using GTK+ 2.4, py2exe (0.5.x) and Inno Setup, and here’s another one, courtesy of Jamey Cribbs: Ok, here are some very rough notes on creating a self-executing installer of your pygtk app for Windows. I’m sure there

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123