What is a good way for python batch applications for Windows XP?

I am trying to package a python 3.4 application that uses gtk bindings for windows xp 32bit.

I installed windows xp sp3 32bit on a virtual machine and installed the necessary dependencies, after fixing some specific Linux problems, I got the opportunity to work fine in Windows XP.

However, I encountered a roadblock trying to facilitate its distribution.

So far, I have tried both cx_freeze and PyInstaller, but both of them produce executable files that fail with an error indicating that "ValueError: Namespace Gtk is unavailable." (Although PyInstaller recommends that I install the “gobject-introspection” package for my platform, I’m not sure where to find it)

I am not very good at how these things usually work on windows. Am I doing something wrong or is there a better recommended way to pack these kinds of things?

+4
source share

All Articles