pmp-p / pydk

An universal Python/pip+Panda3d build framework for Pythons Everywhere ( and Everyone )
https://github.com/pmp-p/pydk
MIT License
41 stars 4 forks source link

How to build? #5

Closed amirouche closed 4 years ago

amirouche commented 5 years ago

I would like to build cpython 3.x for the browser. I don't know how to proceed.

pmp-p commented 5 years ago

first step is to build an emscripten toolchain https://github.com/pmp-p/pydk/tree/master/sources.em or more detailed https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html

next use ./emsdkbuild.sh /work/path /path/to/emsdk_set_env.sh and enter env with . /work/path/sdk.em.env

for cpython the default recipe is ./Python3.7.1.build asm i'll add 3.7.2 very soon