1 Star 0 Fork 0

gyy/emscripten

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
emsize 716 Bytes
一键复制 编辑 原始数据 按行查看 历史
Sam Clegg 提交于 2020-08-07 09:41 . Require python3 (#11836)
#!/bin/sh
# Copyright 2020 The Emscripten Authors. All rights reserved.
# Emscripten is available under two separate licenses, the MIT license and the
# University of Illinois/NCSA Open Source License. Both these licenses can be
# found in the LICENSE file.
#
# Entry point for running python scripts on UNIX systems.
#
# To modify this file, edit `tools/run_python.sh` and then run
# `tools/create_entry_points.py`
if [ -z "$PYTHON" ]; then
PYTHON=$EMSDK_PYTHON
fi
if [ -z "$PYTHON" ]; then
PYTHON=$(which python3 2> /dev/null)
fi
if [ -z "$PYTHON" ]; then
PYTHON=$(which python 2> /dev/null)
fi
if [ -z "$PYTHON" ]; then
echo 'unable to find python in $PATH'
exit 1
fi
exec "$PYTHON" "$0.py" "$@"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/guyangyang/emscripten.git
git@gitee.com:guyangyang/emscripten.git
guyangyang
emscripten
emscripten
11880-test

搜索帮助

0d507c66 1850385 C8b1a773 1850385