diff options
-rw-r--r-- | meta-python/classes/setuptools3_rust.bbclass | 11 |
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 @@ | |||
1 | inherit pyo3 setuptools3 | ||
2 | |||
3 | DEPENDS += "python3-setuptools-rust-native" | ||
4 | |||
5 | setuptools3_rust_do_configure() { | ||
6 | pyo3_do_configure | ||
7 | cargo_common_do_configure | ||
8 | setuptools3_do_configure | ||
9 | } | ||
10 | |||
11 | EXPORT_FUNCTIONS do_configure | ||