1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-09 20:13:47 -05:00

Simplify anaconda/miniconda definitions

This commit is contained in:
Yamashita Yuu
2014-03-10 21:16:52 +09:00
parent 47ce2155b4
commit 6e01f83742
12 changed files with 185 additions and 242 deletions

View File

@@ -771,6 +771,20 @@ build_package_pypy_builder() {
build_package_pypy
}
anaconda_architecture() {
case "$(uname -s)" in
"Darwin" ) echo "MaxOSX-x86_64" ;;
"Linux" )
case "$(uname -m)" in
"i386" | "i486" | "i586" | "i686" | "i786" ) echo "Linux-x86" ;;
"x86_64" ) echo "Linux-x86_64" ;;
* ) return 1 ;;
esac
;;
* ) return 1 ;;
esac
}
build_package_anaconda() {
local package_name="$1"
{ bash "${package_name}.sh" -b -p "${PREFIX_PATH}"