Skip to content

Commit e845e61

Browse files
switch python entrypoint to pyo3 extension to get platlib path
1 parent d0e3a8f commit e845e61

File tree

8 files changed

+460
-286
lines changed

8 files changed

+460
-286
lines changed

Cargo.lock

Lines changed: 108 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli/Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,16 @@ rabex = { workspace = true, features = ["compression-all"] }
1818
steamlocate = "2.0"
1919
unity-scene-repacker = { version = "2.1", path = ".." }
2020

21+
pyo3 = { version = "0.25", optional = true, default-features = false, features = [
22+
"extension-module",
23+
"macros",
24+
"abi3",
25+
"abi3-py37",
26+
] }
27+
2128
[features]
2229
dhat-heap = []
30+
python-module = ["dep:pyo3"]
2331

2432
[[bin]]
2533
name = "unity-scene-repacker"

0 commit comments

Comments
 (0)