Gaphor on macOS#
Older releases are available from GitHub.
CI builds are also available.
To setup a development environment with macOS:
Open a terminal and execute:
brew install python3 gobject-introspection gtk+3 gtksourceview4 adwaita-icon-theme gtk-mac-integration
pipx install poetry
Ensure Gaphor will run with GTK3:
cd gaphor poetry config virtualenvs.in-project true poetry install poetry run gaphor
If PyGObject does not compile and complains about a missing
ffi.h file, set the following
environment variable and run
poetry install again:
export PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig poetry install
Packaging for macOS#
In order to create an exe installation package for macOS, we utilize PyInstaller which analyzes Gaphor to find all the dependencies and bundle them in to a single folder.
Follow the instructions for settings up a development environment above
Open a terminal and execute the following from the repository directory:
poetry install --with packaging poetry run poe package