Skip to content

Trial integration of cx_Freeze with GObject runtime stuff (GTK and Cairo, initially)

License

Notifications You must be signed in to change notification settings

achadwick/hello-cxfreeze-gtk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello, cx_Freeze and GTK+

This repo currently contains a minimal test integration of cx_Freeze with PyGObject runtime stuff.

Unremarkable screenshot
-- This, but as a .exe

It supports GTK 3.x and Cairo 1.x modules initially. To build the test executable on Windows, you need to install MSYS2 first and upgrade its core packages. Then, if you're using the MINGW32 shell environment that ships with MSYS2,

# pacman -S mingw-w64-i686-gtk3
# pacman -S mingw-w64-i686-python2-cx_Freeze
# pacman -S mingw-w64-i686-python2-cairo
# python setup.py build_exe

Change i686 to x86_64 if you're testing with the MINGW64 shell.

The resultant executables end up in build\exe.mingw-2.7, and can be run by double-clicking them in Windows Explorer. To test them from the Windows command line, use something like

C:\> G:
G:\> cd hello-cxfreeze-gtk\build\exe.mingw-2.7 && hellogtk && cd\ || cd\

To go beyond what this Hello World script does will need more DLLs and typelib files to be bundled for use at runtime. But this is a start.

About

Trial integration of cx_Freeze with GObject runtime stuff (GTK and Cairo, initially)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages