Skip to content

Commit a516abd

Browse files
author
Susan Vanderplas
committed
include opencv and some comments
1 parent 26be3eb commit a516abd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

py-deps

+5
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,14 @@ FindRequirements() {
2727
sed -i -e 's/^PIL$/pillow/g' py-imports-clean
2828
# replace sklearn with scikit-learn
2929
sed -i -e 's/^sklearn$/scikit-learn/g' py-imports-clean
30+
# replace cv2 with opencv
31+
sed -i -e 's/^cv2/opencv/g' py-imports-clean
3032

33+
# Python system packages assembled from here: https://docs.python.org/3/library/index.html
34+
# Need to not install these, since python/pip will error out :(
3135
set_difference py-imports-clean py-system-pkgs > py-imports-install
3236

37+
# Remove temp files created when assembling packages
3338
rm py-imports py-imports-clean
3439
mv py-imports-install requirements.txt
3540
}

0 commit comments

Comments
 (0)