Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/wapython
Path: blob/main/python/cpython/bin/python-wasm
1067 views
#!/bin/sh

export PYTHONEXECUTABLE=$(readlink -f "$0")
SCRIPTDIR=$(dirname "$PYTHONEXECUTABLE")
# Must adapt to where it happens to be installed:
export PYTHONHOME="$SCRIPTDIR"/../dist/wasm/
"$SCRIPTDIR"/../node_modules/.bin/kernel "$SCRIPTDIR"/../dist/wasm/bin/python3.11.wasm "$@"