mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Merge pull request #1113 from timsavage/activepython
Support for ActivePython
This commit is contained in:
commit
adbb59ed2c
4 changed files with 68 additions and 0 deletions
|
@ -1068,6 +1068,26 @@ build_package_pypy_builder() {
|
|||
build_package_pypy
|
||||
}
|
||||
|
||||
activepython_architecture() {
|
||||
case "$(uname -s)" in
|
||||
"Darwin" ) echo "macosx10.9-i386-x86_64" ;;
|
||||
"Linux" )
|
||||
case "$(uname -m)" in
|
||||
"i368" | "i486" | "i586" | "i686" | "i786" ) echo "linux-x86" ;;
|
||||
"x86_64" ) echo "linux-x86_64" ;;
|
||||
* ) return 1 ;;
|
||||
esac
|
||||
;;
|
||||
* ) return 1 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
build_package_activepython() {
|
||||
local package_name="$1"
|
||||
{ bash "install.sh" --install-dir "${PREFIX_PATH}"
|
||||
} >&4 2>&1
|
||||
}
|
||||
|
||||
anaconda_architecture() {
|
||||
case "$(uname -s)" in
|
||||
"Darwin" ) echo "MacOSX-x86_64" ;;
|
||||
|
|
15
plugins/python-build/share/python-build/activepython-2.7.14
Normal file
15
plugins/python-build/share/python-build/activepython-2.7.14
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Download source: http://downloads.activestate.com/ActivePython/releases/2.7.14.2717/
|
||||
|
||||
case "$(activepython_architecture 2>/dev/null || true)" in
|
||||
"linux-x86_64" )
|
||||
install_package "ActivePython-2.7.14.2717-linux-x86_64-glibc-2.12-404899" "http://downloads.activestate.com/ActivePython/releases/2.7.14.2717/ActivePython-2.7.14.2717-linux-x86_64-glibc-2.12-404899.tar.gz#0b514b0edb6b847524d44637f56fdebcedb007864c61f8500e68bc2015dad937" "activepython" verify_py27
|
||||
;;
|
||||
* )
|
||||
{ echo
|
||||
colorize 1 "ERROR"
|
||||
echo ": The binary distribution of Active Python is not available for $(activepython_architecture 2>/dev/null || true)."
|
||||
echo
|
||||
} >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
15
plugins/python-build/share/python-build/activepython-3.5.4
Normal file
15
plugins/python-build/share/python-build/activepython-3.5.4
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Location source: http://downloads.activestate.com/ActivePython/releases/3.5.4.3504/
|
||||
|
||||
case "$(activepython_architecture 2>/dev/null || true)" in
|
||||
"linux-x86_64" )
|
||||
install_package "ActivePython-3.5.4.3504-linux-x86_64-glibc-2.12-404899" "http://downloads.activestate.com/ActivePython/releases/3.5.4.3504/ActivePython-3.5.4.3504-linux-x86_64-glibc-2.12-404899.tar.gz#c65e7384bcff715399ef077aea5a17a9f60c3f5de3532a3767497af1d555f092" "activepython" verify_py35
|
||||
;;
|
||||
* )
|
||||
{ echo
|
||||
colorize 1 "ERROR"
|
||||
echo ": The binary distribution of Active Python is not available for $(activepython_architecture 2>/dev/null || true)."
|
||||
echo
|
||||
} >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
18
plugins/python-build/share/python-build/activepython-3.6.0
Normal file
18
plugins/python-build/share/python-build/activepython-3.6.0
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Download source: http://downloads.activestate.com/ActivePython/releases/3.6.0.3600/
|
||||
|
||||
case "$(activepython_architecture 2>/dev/null || true)" in
|
||||
"linux-x86_64" )
|
||||
install_package "ActivePython-3.6.0.3600-linux-x86_64-glibc-2.3.6-401834" "http://downloads.activestate.com/ActivePython/releases/3.6.0.3600/ActivePython-3.6.0.3600-linux-x86_64-glibc-2.3.6-401834.tar.gz#edd17d3221d9744fe27d37842b325f55d0261e69073de3be54e29c1806fe57ae" "activepython" verify_py36
|
||||
;;
|
||||
"linux-x86" )
|
||||
install_package "ActivePython-3.6.0.3600-linux-x86-glibc-2.3.6-401834" "http://downloads.activestate.com/ActivePython/releases/3.6.0.3600/ActivePython-3.6.0.3600-linux-x86-glibc-2.3.6-401834.tar.gz#fafa22ad3346532384866ad009da0c9f23323167dff9de5995f94e827a5eba32" "activepython" verify_py36
|
||||
;;
|
||||
* )
|
||||
{ echo
|
||||
colorize 1 "ERROR"
|
||||
echo ": The binary distribution of Active Python is not available for $(activepython_architecture 2>/dev/null || true)."
|
||||
echo
|
||||
} >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
Loading…
Reference in a new issue