Hello,
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 python.org and PyGobject without installing MSYS2, you may want to have a look at this project: https://sourceforge.net/projects/pygobjectwin32/ . 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:
https://gitlab.gnome.org/World/OpenPaperwork/ironscanner/blob/7e840f66ac5e9c6aa153923657887496e7c37dd8/.gitlab-ci.yml#L68 https://gitlab.gnome.org/World/OpenPaperwork/ironscanner/blob/bd54cdc52ba3d97ebe4a1f42fb8b7e565ea8584a/Makefile#L48 https://gitlab.gnome.org/World/OpenPaperwork/ironscanner/blob/aa688938774def2fe364cf0bf28c5ccfd6f6574f/setup_cx_freeze.py Best regards, Le 2019-05-11 18:20, c.buhtz--- via python-hackers-list a écrit :
Hello, I tried to find out how to install PyGObject (Gtk3 for Python3) on Windows 10 and found this page about this. https://pygobject.readthedocs.io/en/latest/getting_started.html#windows-getting-started 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 https://mail.gnome.org/mailman/listinfo/python-hackers-list
_______________________________________________ python-hackers-list mailing list python-hackers-list@gnome.org https://mail.gnome.org/mailman/listinfo/python-hackers-list