diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index 9a84006d..0e69dc30 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -732,6 +732,11 @@ build_package_anaconda() { } >&4 2>&1 } +build_package_miniconda() { + build_package_anaconda "$@" + "${PREFIX_PATH}/bin/conda" install --yes "pip" +} + build_package_copy() { mkdir -p "$PREFIX_PATH" cp -fR . "$PREFIX_PATH" diff --git a/plugins/python-build/share/python-build/miniconda-3.0.0 b/plugins/python-build/share/python-build/miniconda-3.0.0 new file mode 100644 index 00000000..5aab6542 --- /dev/null +++ b/plugins/python-build/share/python-build/miniconda-3.0.0 @@ -0,0 +1,19 @@ +case "$(uname -s)" in +"Darwin" ) + install_script "Miniconda-3.0.0-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.0.0-MacOSX-x86_64.sh#4dc63992aca6ddb3d10aba902ed00a56" "miniconda" verify_py27 + ;; +"Linux" ) + case "$(uname -m)" in + "i386" | "i486" | "i586" | "i686" | "i786" ) + install_script "Miniconda-3.0.0-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda-3.0.0-Linux-x86.sh#9d1473a904a39f44d6f8e0860424d16b" "miniconda" verify_py27 + ;; + "x86_64" ) + install_script "Miniconda-3.0.0-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda-3.0.0-Linux-x86_64.sh#acf150992cf8d5c332064b31ff885858" "miniconda" verify_py27 + esac + ;; +* ) + { echo "Precompiled binary of miniconda-3.0.0 is not available for $(uname -s)-$(uname -m)." + } 1>&4 2>&1 + false + ;; +esac diff --git a/plugins/python-build/share/python-build/miniconda3-3.0.0 b/plugins/python-build/share/python-build/miniconda3-3.0.0 new file mode 100644 index 00000000..00f34489 --- /dev/null +++ b/plugins/python-build/share/python-build/miniconda3-3.0.0 @@ -0,0 +1,19 @@ +case "$(uname -s)" in +"Darwin" ) + install_script "Miniconda3-3.0.0-MacOSX-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.0.0-MacOSX-x86_64.sh#2b356f05895a0694fc59f7cd809038f2" "miniconda" verify_py27 + ;; +"Linux" ) + case "$(uname -m)" in + "i386" | "i486" | "i586" | "i686" | "i786" ) + install_script "Miniconda3-3.0.0-Linux-x86" "http://repo.continuum.io/miniconda/Miniconda3-3.0.0-Linux-x86.sh#4abe8655f5c361338fb317b018ce7c98" "miniconda" verify_py27 + ;; + "x86_64" ) + install_script "Miniconda3-3.0.0-Linux-x86_64" "http://repo.continuum.io/miniconda/Miniconda3-3.0.0-Linux-x86_64.sh#f74f8e9223492ef292a9b2d87e265de9" "miniconda" verify_py27 + esac + ;; +* ) + { echo "Precompiled binary of miniconda3-3.0.0 is not available for $(uname -s)-$(uname -m)." + } 1>&4 2>&1 + false + ;; +esac