GithubHelp home page GithubHelp logo

shagasakurai / hello-cxfreeze-gtk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from achadwick/hello-cxfreeze-gtk

0.0 0.0 0.0 7 KB

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

License: Creative Commons Zero v1.0 Universal

Python 100.00%

hello-cxfreeze-gtk's Introduction

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.

hello-cxfreeze-gtk's People

Contributors

achadwick avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.