Added a pip wrapper to the shell function library
This function checks that pip is available before using it to install
named packages, and will be used to convert the remaining library download
scripts
@@ -21,6 +21,10 @@ ins_deb_require() {
dpkg-query --show "$@"
}
+ins_pip_get() {
+ ins_deb_require python-pip && pip install "$@"
+}
+
# $1: URL of file containing gzipped dataset
# $2: expected SHA-512 checksum of that file
ins_data_get() {
