diff mbox series

[1/3] bindings: python: add .pyi files to EXTRA_DIST

Message ID 20241120-drop-distutils-v1-1-7498e8b3babe@linaro.org
State New
Headers show
Series bindings: python: drop dependency on distutils | expand

Commit Message

Bartosz Golaszewski Nov. 20, 2024, 1:18 p.m. UTC
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

While python sdist and wheels are built separately these days, we still
want to package all the extra files in the regular libgpiod release
tarballs. Add new .pyi files to automake's EXTRA_DIST.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
 bindings/python/gpiod/Makefile.am          | 1 +
 bindings/python/tests/gpiosim/Makefile.am  | 1 +
 bindings/python/tests/procname/Makefile.am | 1 +
 3 files changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/bindings/python/gpiod/Makefile.am b/bindings/python/gpiod/Makefile.am
index daf7bae..e50297c 100644
--- a/bindings/python/gpiod/Makefile.am
+++ b/bindings/python/gpiod/Makefile.am
@@ -6,6 +6,7 @@  SUBDIRS = ext
 EXTRA_DIST = \
 	chip_info.py \
 	chip.py \
+	_ext.pyi \
 	edge_event.py \
 	exception.py \
 	info_event.py \
diff --git a/bindings/python/tests/gpiosim/Makefile.am b/bindings/python/tests/gpiosim/Makefile.am
index 7004f3a..b403f3c 100644
--- a/bindings/python/tests/gpiosim/Makefile.am
+++ b/bindings/python/tests/gpiosim/Makefile.am
@@ -3,5 +3,6 @@ 
 
 EXTRA_DIST = \
 	chip.py \
+	_ext.pyi \
 	ext.c \
 	__init__.py
diff --git a/bindings/python/tests/procname/Makefile.am b/bindings/python/tests/procname/Makefile.am
index c4a8fd5..dbc8e64 100644
--- a/bindings/python/tests/procname/Makefile.am
+++ b/bindings/python/tests/procname/Makefile.am
@@ -2,5 +2,6 @@ 
 # SPDX-FileCopyrightText: 2022 Bartosz Golaszewski <brgl@bgdev.pl>
 
 EXTRA_DIST = \
+	_ext.pyi \
 	ext.c \
 	__init__.py