Skip to content

Commit 7b0fe1d

Browse files
committed
mv pylib to root
1 parent 31fdb20 commit 7b0fe1d

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ include = ["LICENSE", "Cargo.toml", "src/**/*.rs"]
1515
resolver = "2"
1616
members = [
1717
"compiler", "compiler/ast", "compiler/core", "compiler/codegen", "compiler/parser",
18-
".", "common", "derive", "jit", "vm", "vm/pylib-crate", "stdlib", "wasm/lib",
18+
".", "common", "derive", "jit", "vm", "pylib", "stdlib", "wasm/lib",
1919
]
2020

2121
[features]

vm/pylib-crate/Cargo.toml renamed to pylib/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ include = ["Cargo.toml", "src/**/*.rs", "Lib/", "!Lib/**/test/", "!Lib/**/*.pyc"
1212
freeze-stdlib = []
1313

1414
[dependencies]
15-
rustpython-compiler-core = { version = "0.1.2", path = "../../compiler/core" }
16-
rustpython-derive = { version = "0.1.2", path = "../../derive" }
15+
rustpython-compiler-core = { version = "0.1.2", path = "../compiler/core" }
16+
rustpython-derive = { version = "0.1.2", path = "../derive" }
1717

1818
[build-dependencies]
1919
glob = "0.3"
File renamed without changes.

vm/pylib-crate/src/lib.rs renamed to pylib/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ use rustpython_compiler_core::FrozenModule;
1313

1414
pub fn frozen_builtins() -> impl Iterator<Item = (String, FrozenModule)> {
1515
rustpython_derive::py_freeze!(
16-
dir = "../Lib/python_builtins",
16+
dir = "../vm/Lib/python_builtins",
1717
crate_name = "rustpython_compiler_core"
1818
)
1919
}
2020

2121
#[cfg(not(feature = "freeze-stdlib"))]
2222
pub fn frozen_core() -> impl Iterator<Item = (String, FrozenModule)> {
2323
rustpython_derive::py_freeze!(
24-
dir = "../Lib/core_modules",
24+
dir = "../vm/Lib/core_modules",
2525
crate_name = "rustpython_compiler_core"
2626
)
2727
}
2828

2929
#[cfg(feature = "freeze-stdlib")]
3030
pub fn frozen_stdlib() -> impl Iterator<Item = (String, FrozenModule)> {
31-
rustpython_derive::py_freeze!(dir = "../../Lib", crate_name = "rustpython_compiler_core")
31+
rustpython_derive::py_freeze!(dir = "../Lib", crate_name = "rustpython_compiler_core")
3232
}

vm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ rustpython-compiler-core = { path = "../compiler/core", version = "0.1.2" }
3131
rustpython-common = { path = "../common" }
3232
rustpython-derive = { path = "../derive", version = "0.1.2" }
3333
rustpython-jit = { path = "../jit", optional = true, version = "0.1.2" }
34-
rustpython-pylib = { path = "pylib-crate", version = "0.1.0" }
34+
rustpython-pylib = { path = "../pylib", version = "0.1.0" }
3535

3636
num-complex = { version = "0.4.0", features = ["serde"] }
3737
num-bigint = { version = "0.4.3", features = ["serde"] }

0 commit comments

Comments
 (0)