mirror of
https://github.com/pyenv/pyenv.git
synced 2025-04-07 18:33:16 +00:00
support for pyston 2.2
This commit is contained in:
parent
58b09b7461
commit
328fd42c3a
1 changed files with 15 additions and 6 deletions
|
@ -851,12 +851,21 @@ build_package_jython_builder() {
|
|||
}
|
||||
|
||||
build_package_pyston() {
|
||||
mkdir -p "${PREFIX_PATH}/"
|
||||
cp -fR . "${PREFIX_PATH}/"
|
||||
chmod +x "${PREFIX_PATH}/"pyston
|
||||
# FIXME ugly hack below adapted from
|
||||
# https://github.com/dropbox/pyston/blob/master/docker/pyston/Dockerfile
|
||||
( cd "${PREFIX_PATH}/" && ./pyston virtualenv/virtualenv.py . )
|
||||
# currently supported version 2.2 and upper
|
||||
build_package_copy
|
||||
mkdir -p "${PREFIX_PATH}/bin" "${PREFIX_PATH}/lib"
|
||||
local bin
|
||||
shopt -s nullglob
|
||||
for bin in "bin/"*; do
|
||||
if [ -f "${bin}" ] && [ -x "${bin}" ] && [ ! -L "${bin}" ]; then
|
||||
case "${bin##*/}" in
|
||||
"pyston"* )
|
||||
( cd "${PREFIX_PATH}/bin" && ln -fs "${bin##*/}" "python" )
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
done
|
||||
shopt -u nullglob
|
||||
}
|
||||
|
||||
build_package_ironpython() {
|
||||
|
|
Loading…
Add table
Reference in a new issue