Commit 883ba562 authored by Boxiang Sun's avatar Boxiang Sun

Port pyodide to slapos

parent 5e79e46e
[buildout]
extends =
../python3/buildout.cfg
../git/buildout.cfg
../ccache/buildout.cfg
../nodejs/buildout.cfg
../python-PyYAML/buildout.cfg
../cmake/buildout.cfg
parts =
pyodide
nodejs
npm
[node-less]
recipe = slapos.recipe.build:npm
packages = less
node = nodejs
environment =
PATH=${nodejs:location}/bin:%(PATH)s
[node-uglify-js]
recipe = slapos.recipe.build:npm
packages = uglify-js
node = nodejs
environment =
PATH=${nodejs:location}/bin:%(PATH)s
[pyodide-src]
recipe = slapos.recipe.build:gitclone
git-executable = ${git:location}/bin/git
repository = https://github.com/iodide-project/pyodide.git
location = ${buildout:parts-directory}/${:_buildout_section_name_}
branch = master
[pyodide-build-interpreter]
recipe = zc.recipe.egg
eggs =
setuptools
${python-PyYAML:egg}
interpreter = ${python3.7.2:executable}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
[pyodide]
recipe = slapos.recipe.cmmi
path = ${pyodide-src:location}
environment =
PATH=${cmake:location}/bin:${ccache:location}/bin:${gcc:location}/bin:${node-less:location}/node_modules/.bin:${node-uglify-js:location}/node_modules/.bin:%(PATH)s
CC=${gcc:location}/bin/gcc
CXX=${gcc:location}/bin/g++
LD_LIBRARY_PATH=${gcc:location}/lib:${gcc:location}/lib64
make-options = -e
configure-command = alias python=${pyodide-build-interpreter:interpreter} && echo $PATH
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment