python-emscripten  Check-in [c90a1d71b9]

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

Overview
Comment:Emscripten: upgrade to 2.0.7
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA3-256: c90a1d71b984fb6f32294b5ac904633502aad8d067886894cc97800edaf7552c
User & Date: Beuc 2020-10-24 12:25:12
Context
2020-10-24
12:25
Emscripten: upgrade to 2.0.7 Leaf check-in: c90a1d71b9 user: Beuc tags: trunk
2020-09-10
11:07
Emscripten: upgrade to 2.0.2 check-in: af3ca87849 user: Beuc tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added 2.7.10/patches/python2-getentropy.patch.





























>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: Python-2.7.10/Python/random.c
===================================================================
--- Python-2.7.10.orig/Python/random.c
+++ Python-2.7.10/Python/random.c
@@ -3,6 +3,9 @@
 #include <windows.h>
 #else
 #include <fcntl.h>
+#if defined(HAVE_GETENTROPY)
+#include <sys/random.h>
+#endif
 #endif
 
 #ifdef Py_DEBUG

Changes to 2.7.10/patches/series.

1
2
3
4
5

python2-cross_compile.patch
python2-no_popen.patch
#python2-static_submodules.patch
python2-webbrowser.patch
python2-no-openssl.patch






>
1
2
3
4
5
6
python2-cross_compile.patch
python2-no_popen.patch
#python2-static_submodules.patch
python2-webbrowser.patch
python2-no-openssl.patch
python2-getentropy.patch

Changes to README.md.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Python compilation scripts and patches to run in the browser.

<https://www.beuc.net/python-emscripten/python>

Build requirements: Emscripten, python3, gcc, make, quilt

Emscripten: download prebuilt binaries (or [build from source](https://emscripten.org/docs/building_from_source/))

    git clone https://github.com/emscripten-core/emsdk/
    pushd emsdk/
    ./emsdk install 2.0.2
    ./emsdk activate 2.0.2
    popd
    source emsdk/emsdk_env.sh

Python for the web browser!

    cd 3.8/
    ./python.sh










|
|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Python compilation scripts and patches to run in the browser.

<https://www.beuc.net/python-emscripten/python>

Build requirements: Emscripten, python3, gcc, make, quilt

Emscripten: download prebuilt binaries (or [build from source](https://emscripten.org/docs/building_from_source/))

    git clone https://github.com/emscripten-core/emsdk/
    pushd emsdk/
    ./emsdk install 2.0.7
    ./emsdk activate 2.0.7
    popd
    source emsdk/emsdk_env.sh

Python for the web browser!

    cd 3.8/
    ./python.sh