Gaphor on Windows

Development Environment

To setup a development environment in Windows:

  1. Go to and download the x86_64 installer

  2. Follow the instructions on the page for setting up the basic environment

  3. Run C:\msys64\mingw64.exe - a terminal window should pop up

$ pacman -Suy
$ pacman -S git mingw-w64-x86_64-gcc mingw-w64-x86_64-gtk3 \
mingw-w64-x86_64-pkg-config mingw-w64-x86_64-cairo \
mingw-w64-x86_64-gobject-introspection mingw-w64-x86_64-python \
mingw-w64-x86_64-python-gobject mingw-w64-x86_64-python-cairo \

Clone the repository.

$ cd gaphor
$ source venv
$ poetry run gaphor

Packaging for Windows

In order to create an exe installation package for Windows, we utilize PyInstaller which analyzes Gaphor to find all the dependencies and bundle them in to a single folder. We then use a custom bash script that creates a Windows installer using NSIS and a portable installer using 7-Zip.

  1. Follow the instructions for settings up a development environment above

  2. Run C:\msys64\mingw64.exe - a terminal window should pop up

$ cd packaging/windows
$ ./