summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-python/classes/setuptools3_rust.bbclass11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-python/classes/setuptools3_rust.bbclass b/meta-python/classes/setuptools3_rust.bbclass
new file mode 100644
index 000000000..fb11f08f8
--- /dev/null
+++ b/meta-python/classes/setuptools3_rust.bbclass
@@ -0,0 +1,11 @@
1inherit pyo3 setuptools3
2
3DEPENDS += "python3-setuptools-rust-native"
4
5setuptools3_rust_do_configure() {
6 pyo3_do_configure
7 cargo_common_do_configure
8 setuptools3_do_configure
9}
10
11EXPORT_FUNCTIONS do_configure