From 6be61aef6ad0ffb370deb4df5ad48487b56e3678 Mon Sep 17 00:00:00 2001 From: Przemyslaw Date: Tue, 2 Apr 2024 16:54:04 +0200 Subject: Init --- INSTALL | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 INSTALL (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..0906aec --- /dev/null +++ b/INSTALL @@ -0,0 +1,92 @@ +Windows + +Go to http://www.msys2.org/ and download the x86_64 installer + +Follow the instructions on the page for setting up the basic environment + +Run C:\msys64\mingw64.exe - a terminal window should pop up + +Execute pacman -Suy + +Execute pacman -S mingw-w64-x86_64-gtk3 mingw-w64-x86_64-python3 mingw-w64-x86_64-python3-gobject + + +Ubuntu/Debian + +Installing the system provided PyGObject: +Open a terminal + +Execute sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0 + +Installing from PyPI with pip: +Open a terminal and enter your virtual environment + +Execute sudo apt install libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-3.0 to install the build dependencies and GTK + +Execute pip3 install pycairo to build and install Pycairo + +Execute pip3 install PyGObject to build and install PyGObject + + + +Fedora + +Installing the system provided PyGObject: +Open a terminal + +Execute sudo dnf install python3-gobject gtk3 + +Open a terminal and enter your virtual environment + +Execute sudo dnf install gcc gobject-introspection-devel cairo-gobject-devel pkg-config python3-devel gtk3 to install the build dependencies and GTK + +Execute pip3 install pycairo to build and install Pycairo + +Execute pip3 install PyGObject to build and install PyGObject + + +Arch Linux + +Installing the system provided PyGObject: +Open a terminal + +Execute sudo pacman -S python-gobject gtk3 + +Installing from PyPI with pip: +Open a terminal and enter your virtual environment + +Execute sudo pacman -S python cairo pkgconf gobject-introspection gtk3 to install the build dependencies and GTK + +Execute pip3 install pycairo to build and install Pycairo + +Execute pip3 install PyGObject to build and install PyGObject + + + + +openSUSE + +Installing the system provided PyGObject: +Open a terminal + +Execute sudo zypper install python3-gobject python3-gobject-Gdk typelib-1_0-Gtk-3_0 libgtk-3-0 + +Installing from PyPI with pip: +Open a terminal and enter your virtual environment + +Execute sudo zypper install cairo-devel pkg-config python3-devel gcc gobject-introspection-devel to install the build dependencies and GTK + +Execute pip3 install pycairo to build and install Pycairo + +Execute pip3 install PyGObject to build and install PyGObject + + + + +macOS + +Go to https://brew.sh/ and install homebrew + +Open a terminal + +Execute brew install pygobject3 gtk+3 -- cgit v1.2.3