From 52c2c661a79f2556a7948091825ce60b33a9af35 Mon Sep 17 00:00:00 2001 From: Ross Allen Date: Mon, 9 Sep 2024 21:06:43 -0700 Subject: [PATCH] updating package-data with platform-specific shared files --- pyproject.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1a75bde..600ce8d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,8 +33,14 @@ version = {attr = "kspdg.__version__"} # ensure that private_src pyarmor shared object files are part of kspdg build [tool.setuptools.package-data] kspdg = [ - "private_src/python3_9/pyarmor_runtime_000000/*.so", - "private_src/python3_12/pyarmor_runtime_000000/*.so" + "private_src/python3_9/Darwin_arm64/pyarmor_runtime_000000/*.so", + "private_src/python3_9/Darwin_x86_64/pyarmor_runtime_000000/*.so", + "private_src/python3_9/Linux_x86_64/pyarmor_runtime_000000/*.so", + "private_src/python3_9/Windows_x86_64/pyarmor_runtime_000000/*.pyd", + "private_src/python3_12/Darwin_arm64/pyarmor_runtime_000000/*.so", + "private_src/python3_12/Darwin_x86_64/pyarmor_runtime_000000/*.so", + "private_src/python3_12/Linux_x86_64/pyarmor_runtime_000000/*.so", + "private_src/python3_12/Windows_x86_64/pyarmor_runtime_000000/*.pyd" ] # Further dependencies for dev, testing, and envrionments with advanced bots