From a722e7b8ba0c16b9ffc16304c4afb4f721b29efe Mon Sep 17 00:00:00 2001 From: derrod Date: Thu, 7 Oct 2021 10:28:40 +0200 Subject: [PATCH] Update setup.py/README with new optional dependency (PyGObject) --- README.md | 6 +++++- setup.py | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5a3c692..1f54e8f 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,11 @@ Optionally if logging in via an embedded web view is desired also run pip install legendary-gl[webview] ``` On Linux this may also require installing a supported web engine and its python bindings. -For example `pip install pywebview[gtk]` to use a GTK-based web view. +A shortcut for GTK based web views (recommended) is also provided: +```bash +pip install legendary-gl[webview_gtk] +``` +Alternatively use `pip install pywebview[gtk]` to install `pywebview` and `PyGObject`. **Note:** Using pywebview's Qt engine may not work correctly. diff --git a/setup.py b/setup.py index 6578289..dc618a6 100644 --- a/setup.py +++ b/setup.py @@ -41,6 +41,7 @@ setup( ], extras_reuqire=dict( webview=['pywebview'], + webview_gtk=['pywebview', 'PyGObject'] ), url='https://github.com/derrod/legendary', description='Free and open-source replacement for the Epic Games Launcher application',