From 2db07234f74c397b722fa1e2ab3cb12b33eded90 Mon Sep 17 00:00:00 2001 From: saufrecht <43078751+saufrecht@users.noreply.github.com> Date: Mon, 26 Aug 2019 21:43:14 -0700 Subject: [PATCH 1/2] Add Ubuntu package install dependencies --- source/install.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/install.txt b/source/install.txt index 1cde610..b32e235 100644 --- a/source/install.txt +++ b/source/install.txt @@ -24,6 +24,11 @@ distributions. So, if you use Linux, you can probably get started by installing the package from the official repository for your distribution. +### Ubuntu (19.04) + +```$ sudo apt install libcairo2-dev libgirepository1.0-dev``` +```$ pip install pygobject``` + Installing From Source ---------------------- The easiest way to install PyGObject from source is using `JHBuild`_. It is From a03ca6a5344621d48c3c9afdf3d08b299468db81 Mon Sep 17 00:00:00 2001 From: S Aufrecht Date: Mon, 26 Aug 2019 22:08:29 -0700 Subject: [PATCH 2/2] reformatted patch from MarkDown to reStructuredText --- source/install.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/source/install.txt b/source/install.txt index b32e235..f5aea2f 100644 --- a/source/install.txt +++ b/source/install.txt @@ -24,10 +24,15 @@ distributions. So, if you use Linux, you can probably get started by installing the package from the official repository for your distribution. -### Ubuntu (19.04) +Ubuntu (19.04) +~~~~~~~~~~~~~~ +Install prerequisite packages:: -```$ sudo apt install libcairo2-dev libgirepository1.0-dev``` -```$ pip install pygobject``` + $ sudo apt install libcairo2-dev libgirepository1.0-dev + +Install PyGObject. (If you are using a virtual environment, switch to it first.) Install from Pip:: + + $ pip install pygobject Installing From Source ----------------------