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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>

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@xxxxxxxxxx>
---
 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 --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@xxxxxxxx>
 
 EXTRA_DIST = \
+	_ext.pyi \
 	ext.c \
 	__init__.py

-- 
2.45.2





[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux