diff --git a/.github/workflows/node_hub_test.sh b/.github/workflows/node_hub_test.sh index 865ada4d..c3893267 100755 --- a/.github/workflows/node_hub_test.sh +++ b/.github/workflows/node_hub_test.sh @@ -57,10 +57,10 @@ else # x86_64-pc-windows-gnu rustup target add x86_64-pc-windows-gnu - maturin build --target x86_64-pc-windows-gnu --zig --release + maturin build --target x86_64-pc-windows-gnu --release # If GITHUB_EVENT_NAME is release or workflow_dispatch, publish the wheel if [ "$GITHUB_EVENT_NAME" == "release" ] || [ "$GITHUB_EVENT_NAME" == "workflow_dispatch" ]; then - maturin publish --target x86_64-pc-windows-gnu --skip-existing --zig + maturin publish --target x86_64-pc-windows-gnu --skip-existing fi elif [[ -f "Cargo.toml" && -f "pyproject.toml" && "$(uname)" = "Darwin" ]]; then diff --git a/Cargo.lock b/Cargo.lock index 9015022b..41f76174 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7649,6 +7649,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94f6cbe86ef3bf18998d9df6e0f3fc1050a8c5efa409bf712e661a4366e010fb" dependencies = [ "once_cell", + "python3-dll-a", "target-lexicon", ] @@ -7687,6 +7688,15 @@ dependencies = [ "syn 2.0.94", ] +[[package]] +name = "python3-dll-a" +version = "0.2.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49fe4227a288cf9493942ad0220ea3f185f4d1f2a14f197f7344d6d02f4ed4ed" +dependencies = [ + "cc", +] + [[package]] name = "pythonize" version = "0.23.0" diff --git a/node-hub/dora-kit-car/Cargo.toml b/node-hub/dora-kit-car/Cargo.toml index 20552528..54d125b8 100644 --- a/node-hub/dora-kit-car/Cargo.toml +++ b/node-hub/dora-kit-car/Cargo.toml @@ -23,7 +23,8 @@ eyre = "0.6.8" pyo3 = { workspace = true, features = [ "extension-module", "abi3", - "eyre" + "eyre", + "generate-import-lib", ], optional = true } serde = { version = "1.0.204", features = ["derive"] } serde_json = "1.0.120" diff --git a/node-hub/dora-object-to-pose/Cargo.toml b/node-hub/dora-object-to-pose/Cargo.toml index cd233b66..8ecfd24d 100644 --- a/node-hub/dora-object-to-pose/Cargo.toml +++ b/node-hub/dora-object-to-pose/Cargo.toml @@ -12,6 +12,7 @@ pyo3 = { workspace = true, features = [ "extension-module", "abi3", "eyre", + "generate-import-lib", ], optional = true } [features] diff --git a/node-hub/dora-rerun/Cargo.toml b/node-hub/dora-rerun/Cargo.toml index e3bfa7b8..488011af 100644 --- a/node-hub/dora-rerun/Cargo.toml +++ b/node-hub/dora-rerun/Cargo.toml @@ -24,6 +24,7 @@ pyo3 = { workspace = true, features = [ "extension-module", "abi3", "eyre", + "generate-import-lib", ], optional = true } bytemuck = "1.20.0"