feat(python): implement python bindings for all components and solvers
This commit is contained in:
@@ -17,13 +17,7 @@ fn coolprop_src_path() -> Option<PathBuf> {
|
||||
PathBuf::from("/opt/CoolProp"),
|
||||
];
|
||||
|
||||
for path in possible_paths {
|
||||
if path.join("CMakeLists.txt").exists() {
|
||||
return Some(path);
|
||||
}
|
||||
}
|
||||
|
||||
None
|
||||
possible_paths.into_iter().find(|path| path.join("CMakeLists.txt").exists())
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
||||
Reference in New Issue
Block a user