python-emscripten  Check-in [08c4e36826]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:webprompt: drop py2 remark
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 08c4e36826609bbfbb9895893c4b0c0ab139bfa8b7f0c193011b44c7d2e43ba7
User & Date: Beuc 2020-05-08 16:47:35
Context
2020-05-22
07:21
Upgrade Python 3.8.2 -> 3.8.3 check-in: 5c748cbd8b user: Beuc tags: trunk
2020-05-08
16:47
webprompt: drop py2 remark check-in: 08c4e36826 user: Beuc tags: trunk
16:44
Python3 initial support check-in: 58e7feba3b user: Beuc tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to 3.8/webprompt.sh.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash -ex

# Simple Python prompt for the browser, for smoke testing

# Copyright (C) 2019, 2020  Sylvain Beucler

# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.  This file is offered as-is,
# without any warranty.

# Alternatively: use Emscripten's old binary:
# emscripten/tests/python/python.bc -s ERROR_ON_UNDEFINED_SYMBOLS=0

INSTALLDIR=${INSTALLDIR:-$(dirname $(readlink -f $0))/destdir}
BUILD=t

mkdir -p $BUILD

cython -3 ../emscripten.pyx -o $BUILD/emscripten.c
cython -3 ../emscripten_fetch.pyx -o $BUILD/emscripten_fetch.c











<
<
<







1
2
3
4
5
6
7
8
9
10
11



12
13
14
15
16
17
18
#!/bin/bash -ex

# Simple Python prompt for the browser, for smoke testing

# Copyright (C) 2019, 2020  Sylvain Beucler

# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.  This file is offered as-is,
# without any warranty.




INSTALLDIR=${INSTALLDIR:-$(dirname $(readlink -f $0))/destdir}
BUILD=t

mkdir -p $BUILD

cython -3 ../emscripten.pyx -o $BUILD/emscripten.c
cython -3 ../emscripten_fetch.pyx -o $BUILD/emscripten_fetch.c