bindings: python: add py.typed marker
authorVincent Fazio <vfazio@gmail.com>
Sat, 14 Sep 2024 18:33:02 +0000 (13:33 -0500)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 16 Sep 2024 06:42:42 +0000 (08:42 +0200)
commitc840e17a9ca05e44ec823b77843ab0e8b88691c3
treefd32af119211b53075e4a3a4ad2d9cd4fa0d8449
parent7c815ae11f3cfc98216d60eb0dca2bad0df9721b
bindings: python: add py.typed marker

Per PEP 561 [0], the marker is used by type checkers like mypy
to recognize that the library is typed.

[0]: https://peps.python.org/pep-0561/#packaging-type-information

Closes: https://github.com/brgl/libgpiod/issues/94
Signed-off-by: Vincent Fazio <vfazio@gmail.com>
Link: https://lore.kernel.org/r/20240914183302.15768-1-vfazio@gmail.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
bindings/python/gpiod/py.typed [new file with mode: 0644]
bindings/python/setup.py