Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ members = [
"jit",
"vm",
"vm/sre_engine",
"pylib",
"stdlib",
"derive-impl",
"wtf8",
"wasm/lib",
"crates/*",
]

[workspace.package]
Expand All @@ -152,7 +152,7 @@ rustpython-derive-impl = { path = "derive-impl", version = "0.4.0" }
rustpython-jit = { path = "jit", version = "0.4.0" }
rustpython-literal = { path = "compiler/literal", version = "0.4.0" }
rustpython-vm = { path = "vm", default-features = false, version = "0.4.0" }
rustpython-pylib = { path = "pylib", version = "0.4.0" }
rustpython-pylib = { path = "crates/pylib", version = "0.4.0" }
rustpython-stdlib = { path = "stdlib", default-features = false, version = "0.4.0" }
rustpython-sre_engine = { path = "vm/sre_engine", version = "0.4.0" }
rustpython-wtf8 = { path = "wtf8", version = "0.4.0" }
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions crates/pylib/Lib
8 changes: 5 additions & 3 deletions pylib/build.rs → crates/pylib/build.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
const CRATE_ROOT: &str = "../..";

fn main() {
process_python_libs("../vm/Lib/python_builtins/*");
process_python_libs(format!("{CRATE_ROOT}/vm/Lib/python_builtins/*").as_str());
process_python_libs(format!("{CRATE_ROOT}/vm/Lib/core_modules/*").as_str());

process_python_libs("../vm/Lib/core_modules/*");
#[cfg(feature = "freeze-stdlib")]
if cfg!(windows) {
process_python_libs("../Lib/**/*");
process_python_libs(format!("{CRATE_ROOT}/Lib/**/*").as_str());
} else {
process_python_libs("./Lib/**/*");
}
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion example_projects/frozen_stdlib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
[dependencies]
rustpython = { path = "../../", default-features = false, features = ["freeze-stdlib"] }
rustpython-vm = { path = "../../vm", default-features = false, features = ["freeze-stdlib"] }
rustpython-pylib = { path = "../../pylib", default-features = false, features = ["freeze-stdlib"] }
rustpython-pylib = { path = "../../crates/rustpython_pylib", default-features = false, features = ["freeze-stdlib"] }
Comment thread
youknowone marked this conversation as resolved.
Outdated

[workspace]

Expand Down
1 change: 0 additions & 1 deletion pylib/Lib

This file was deleted.

Loading