Update lib.rs (#2643)

Adding OpenCV to Python install/import exceptions mapping
This commit is contained in:
betterthanever2
2023-11-17 16:39:24 +02:00
committed by GitHub
parent 998843ba62
commit d82027cbf9
@@ -44,7 +44,8 @@ static PYTHON_IMPORTS_REPLACEMENT: phf::Map<&'static str, &'static str> = phf_ma
"tabula" => "tabula-py",
"shapefile" => "pyshp",
"sklearn" => "scikit-learn",
"umap" => "umap-learn"
"umap" => "umap-learn",
"cv2" => "opencv-python"
};
fn replace_import(x: String) -> String {