pygobject / pygobject-stubs

PEP 561 Typing Stubs for PyGObject
GNU Lesser General Public License v2.1
74 stars 26 forks source link

Add documentation example in the README.md for the requirements.txt configuration #190

Open C0rn3j opened 6 hours ago

C0rn3j commented 6 hours ago

https://github.com/pygobject/pygobject-stubs?tab=readme-ov-file#project-integration

Readme mentions using the requirements.txt file as it supports config-settings.
It could also provide an example of such configuration.

lovetox commented 6 hours ago

I would assume the same as mentioned in the readme

--config-settings=config=Gtk3,Gdk3,Soup2

did that work for you?

C0rn3j commented 6 hours ago

This has worked just fine, but it is not obvious:

pygobject-stubs --config-settings=config=Gtk3