mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
Update setup.py/README with new optional dependency (PyGObject)
This commit is contained in:
parent
b857967dfa
commit
a722e7b8ba
|
@ -80,7 +80,11 @@ Optionally if logging in via an embedded web view is desired also run
|
||||||
pip install legendary-gl[webview]
|
pip install legendary-gl[webview]
|
||||||
```
|
```
|
||||||
On Linux this may also require installing a supported web engine and its python bindings.
|
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.
|
**Note:** Using pywebview's Qt engine may not work correctly.
|
||||||
|
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -41,6 +41,7 @@ setup(
|
||||||
],
|
],
|
||||||
extras_reuqire=dict(
|
extras_reuqire=dict(
|
||||||
webview=['pywebview'],
|
webview=['pywebview'],
|
||||||
|
webview_gtk=['pywebview', 'PyGObject']
|
||||||
),
|
),
|
||||||
url='https://github.com/derrod/legendary',
|
url='https://github.com/derrod/legendary',
|
||||||
description='Free and open-source replacement for the Epic Games Launcher application',
|
description='Free and open-source replacement for the Epic Games Launcher application',
|
||||||
|
|
Loading…
Reference in a new issue