This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
dora-rs
/
dora
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
124
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Fix path by using ; instead of :
tags/v0.3.1-rc5
haixuanTao
2 years ago
parent
ea1259da20
commit
afcfec81f1
5 changed files
with
61 additions
and
979 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-956
Cargo.lock
+18
-7
examples/python-dataflow/run.rs
+18
-7
examples/python-operator-dataflow/run.rs
+18
-7
examples/python-ros2-dataflow/run.rs
+1
-2
libraries/core/src/lib.rs
+ 6
- 956
Cargo.lock
File diff suppressed because it is too large
View File
+ 18
- 7
examples/python-dataflow/run.rs
View File
@@ -31,13 +31,24 @@ async fn main() -> eyre::Result<()> {
} else {
venv.join("bin")
};
std::env::set_var(
"PATH",
format!(
"{}:{orig_path}",
venv_bin.to_str().context("venv path not valid unicode")?
),
);
if cfg!(windows) {
std::env::set_var(
"PATH",
format!(
"{};{orig_path}",
venv_bin.to_str().context("venv path not valid unicode")?
),
);
} else {
std::env::set_var(
"PATH",
format!(
"{}:{orig_path}",
venv_bin.to_str().context("venv path not valid unicode")?
),
);
}
run(
get_pip_path().context("Could not get pip binary")?,
+ 18
- 7
examples/python-operator-dataflow/run.rs
View File
@@ -31,13 +31,24 @@ async fn main() -> eyre::Result<()> {
} else {
venv.join("bin")
};
std::env::set_var(
"PATH",
format!(
"{}:{orig_path}",
venv_bin.to_str().context("venv path not valid unicode")?
),
);
if cfg!(windows) {
std::env::set_var(
"PATH",
format!(
"{};{orig_path}",
venv_bin.to_str().context("venv path not valid unicode")?
),
);
} else {
std::env::set_var(
"PATH",
format!(
"{}:{orig_path}",
venv_bin.to_str().context("venv path not valid unicode")?
),
);
}
run(
get_pip_path().context("Could not get pip binary")?,
+ 18
- 7
examples/python-ros2-dataflow/run.rs
View File
@@ -31,13 +31,24 @@ async fn main() -> eyre::Result<()> {
} else {
venv.join("bin")
};
std::env::set_var(
"PATH",
format!(
"{}:{orig_path}",
venv_bin.to_str().context("venv path not valid unicode")?
),
);
if cfg!(windows) {
std::env::set_var(
"PATH",
format!(
"{};{orig_path}",
venv_bin.to_str().context("venv path not valid unicode")?
),
);
} else {
std::env::set_var(
"PATH",
format!(
"{}:{orig_path}",
venv_bin.to_str().context("venv path not valid unicode")?
),
);
}
run(
get_pip_path().context("Could not get pip binary")?,
+ 1
- 2
libraries/core/src/lib.rs
View File
@@ -1,5 +1,4 @@
use eyre::{bail, eyre, Context, ContextCompat};
use maturin::BuildOptions;
use eyre::{bail, eyre, Context};
use std::{
env::consts::{DLL_PREFIX, DLL_SUFFIX},
ffi::OsStr,
Write
Preview
Loading…
Cancel
Save