Re: PyGObject on Windows only with MINGW?


Actually, MSYS2 is just a development environment. Binaries produced using MSYS2 can be used on systems without MSYS2.

Anyway, if you just want to use the official Python installation from and PyGobject without installing MSYS2, you may want to have a look at this project: . Just beware that the packages included are less up-to-date than those in MSYS2.

Now if you want to distribute an application, this may be a bit more tricky as you probably also want to embed and distribute the Python interpreter and any other dependencies you need. I assume you will also want to generate an executable file. I've found 2 ways to do that up to now: - either an official Python installation + pygobjectwin32 + pyinstaller (easier way) - or using MSYS2: cx_freeze to create the executable (harder, but allow more flexibility and access to more recent versions of packages)

Currently I'm using the last approach for 2 of my projects. You can have a look at how I did here:

Best regards,

Le 2019-05-11 18:20, c.buhtz--- via python-hackers-list a écrit :
I tried to find out how to install PyGObject (Gtk3 for Python3) on
Windows 10 and found this page about this.

It looks like that PyGObject only runs with mingw? Does it mean that
my application need to be started via mingw always?
In my opinion this means there is no native PyGObject for Windows.
python-hackers-list mailing list
python-hackers-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]