FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

webprompt: not specific to Python 2 · python-emscripten/python@b9be7be · GitHub

Repository navigation

Commit b9be7be

Browse files
me
committed
webprompt: not specific to Python 2
1 parent fa969df commit b9be7be

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎2.7.10/webprompt.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ while (( $# )); do
3131
shift
3232
done
3333
emcc -o $BUILD/index.html \
34-
webprompt-main.c $BUILD/emscripten.c \
34+
../webprompt-main.c $BUILD/emscripten.c \
3535
$FLAGS \
3636
-I$INSTALLDIR/include/python2.7 -L$INSTALLDIR/lib -lpython2.7 \
3737
-s EMULATE_FUNCTION_POINTER_CASTS=1 \
@@ -40,7 +40,7 @@ emcc -o $BUILD/index.html \
4040
-s ALLOW_MEMORY_GROWTH=1 \
4141
-s FORCE_FILESYSTEM=1 -s RETAIN_COMPILER_SETTINGS=1 \
4242
$ASYNC \
43-
--shell-file webprompt-shell.html -s MINIFY_HTML=0 \
43+
--shell-file ../webprompt-shell.html -s MINIFY_HTML=0 \
4444
-s EXPORTED_FUNCTIONS='[_main, _Py_Initialize, _PyRun_SimpleString, _pyruni]' \
4545
-s EXTRA_EXPORTED_RUNTIME_METHODS='[ccall, cwrap]'
4646

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL