Add build_package_pyston() to python-build

This commit is contained in:
Samuel Villamonte 2016-09-25 17:25:55 -05:00
parent 1f9eb6b25d
commit 866dcd408e

View file

@ -918,6 +918,15 @@ build_package_jython_builder() {
( cd "dist" && build_package_jython ) ( cd "dist" && build_package_jython )
} }
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 . )
}
build_package_ironpython() { build_package_ironpython() {
mkdir -p "${PREFIX_PATH}/bin" mkdir -p "${PREFIX_PATH}/bin"
cp -fR . "${PREFIX_PATH}/bin" cp -fR . "${PREFIX_PATH}/bin"