forked from Rust-related/RustPython
mv pylib to root
This commit is contained in:
@@ -15,7 +15,7 @@ include = ["LICENSE", "Cargo.toml", "src/**/*.rs"]
|
||||
resolver = "2"
|
||||
members = [
|
||||
"compiler", "compiler/ast", "compiler/core", "compiler/codegen", "compiler/parser",
|
||||
".", "common", "derive", "jit", "vm", "vm/pylib-crate", "stdlib", "wasm/lib",
|
||||
".", "common", "derive", "jit", "vm", "pylib", "stdlib", "wasm/lib",
|
||||
]
|
||||
|
||||
[features]
|
||||
|
||||
@@ -12,8 +12,8 @@ include = ["Cargo.toml", "src/**/*.rs", "Lib/", "!Lib/**/test/", "!Lib/**/*.pyc"
|
||||
freeze-stdlib = []
|
||||
|
||||
[dependencies]
|
||||
rustpython-compiler-core = { version = "0.1.2", path = "../../compiler/core" }
|
||||
rustpython-derive = { version = "0.1.2", path = "../../derive" }
|
||||
rustpython-compiler-core = { version = "0.1.2", path = "../compiler/core" }
|
||||
rustpython-derive = { version = "0.1.2", path = "../derive" }
|
||||
|
||||
[build-dependencies]
|
||||
glob = "0.3"
|
||||
@@ -13,7 +13,7 @@ use rustpython_compiler_core::FrozenModule;
|
||||
|
||||
pub fn frozen_builtins() -> impl Iterator<Item = (String, FrozenModule)> {
|
||||
rustpython_derive::py_freeze!(
|
||||
dir = "../Lib/python_builtins",
|
||||
dir = "../vm/Lib/python_builtins",
|
||||
crate_name = "rustpython_compiler_core"
|
||||
)
|
||||
}
|
||||
@@ -21,12 +21,12 @@ pub fn frozen_builtins() -> impl Iterator<Item = (String, FrozenModule)> {
|
||||
#[cfg(not(feature = "freeze-stdlib"))]
|
||||
pub fn frozen_core() -> impl Iterator<Item = (String, FrozenModule)> {
|
||||
rustpython_derive::py_freeze!(
|
||||
dir = "../Lib/core_modules",
|
||||
dir = "../vm/Lib/core_modules",
|
||||
crate_name = "rustpython_compiler_core"
|
||||
)
|
||||
}
|
||||
|
||||
#[cfg(feature = "freeze-stdlib")]
|
||||
pub fn frozen_stdlib() -> impl Iterator<Item = (String, FrozenModule)> {
|
||||
rustpython_derive::py_freeze!(dir = "../../Lib", crate_name = "rustpython_compiler_core")
|
||||
rustpython_derive::py_freeze!(dir = "../Lib", crate_name = "rustpython_compiler_core")
|
||||
}
|
||||
@@ -31,7 +31,7 @@ rustpython-compiler-core = { path = "../compiler/core", version = "0.1.2" }
|
||||
rustpython-common = { path = "../common" }
|
||||
rustpython-derive = { path = "../derive", version = "0.1.2" }
|
||||
rustpython-jit = { path = "../jit", optional = true, version = "0.1.2" }
|
||||
rustpython-pylib = { path = "pylib-crate", version = "0.1.0" }
|
||||
rustpython-pylib = { path = "../pylib", version = "0.1.0" }
|
||||
|
||||
num-complex = { version = "0.4.0", features = ["serde"] }
|
||||
num-bigint = { version = "0.4.3", features = ["serde"] }
|
||||
|
||||
Reference in New Issue
Block a user