Update setup.py/README with new optional dependency (PyGObject)

This commit is contained in:
derrod 2021-10-07 10:28:40 +02:00
parent b857967dfa
commit a722e7b8ba
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View file

@ -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',