Skip to content

Commit

Permalink
Add wheel to workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
Rigidity committed Feb 6, 2024
1 parent 22bfc5c commit 7cb9c65
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 12 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
target/
.idea/
__pycache__/
33 changes: 25 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# the "wheel" crate is excluded from the workspace because pyo3 has problems with
# "cargo test" and "cargo bench"
[workspace]
members = [
"chia-bls",
Expand All @@ -20,8 +18,8 @@ members = [
"clvm-utils/fuzz",
"fuzz",
"wasm",
"wheel",
]
exclude = ["wheel"]

[package]
name = "chia"
Expand Down
2 changes: 1 addition & 1 deletion wheel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ path = "src/lib.rs"
clvmr = "0.5.0"
hex = "0.4.3"
sha2 = "0.10.8"
pyo3 = { version = "=0.19.0", features = ["extension-module", "multiple-pymethods"] }
pyo3 = { version = "=0.19.0", features = ["multiple-pymethods"] }
chia = { version = "=0.5.2", path = "..", features = ["py-bindings"] }
chia-bls = { version = "=0.5.1", path = "../chia-bls", features = ["py-bindings"] }
chia-protocol = { version = "=0.5.1", path = "../chia-protocol", features = ["py-bindings"] }
Expand Down
1 change: 1 addition & 0 deletions wheel/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ build-backend = "maturin"

[tool.maturin]
bindings = "pyo3"
features = ["pyo3/extension-module"]

0 comments on commit 7cb9c65

Please sign in to comment.