File tree Expand file tree Collapse file tree 6 files changed +2351
-11
lines changed
support/__EMSCRIPTEN__.patches Expand file tree Collapse file tree 6 files changed +2351
-11
lines changed Original file line number Diff line number Diff line change 3333 env|grep GITHUB
3434 echo
3535 grep "^Pkg.Revision =" ${ANDROID_HOME}/ndk-bundle/source.properties
36-
36+
3737 - name : Install dependencies
3838 run : |
3939 sudo apt-get update --fix-missing
@@ -46,13 +46,13 @@ jobs:
4646 - name : Upload sdk to Github artifacts
4747 uses : actions/upload-artifact@v2
4848 with :
49- path : . /sdk
50-
49+ path : /opt /sdk
50+
5151 - name : Upload sdk to Github Releases
5252 if : github.event_name == 'release'
5353 uses : svenstaro/upload-release-action@2.2.1
5454 with :
5555 repo_token : ${{ secrets.GITHUB_TOKEN }}
56- file : . /sdk/*
56+ file : /opt /sdk/*
5757 file_glob : true
5858 tag : ${{ github.ref }}
Original file line number Diff line number Diff line change 11#! /bin/bash
22reset
3- sudo mkdir -p /opt/python-wasm-sdk
4- sudo chmod 777 /opt/python-wasm-sdk
3+ export SDKDIR=/opt/python-wasm-sdk
54
6- mv * /opt/python-wasm-sdk/
5+ sudo mkdir -p ${SDKDIR}
6+ sudo chmod 777 ${SDKDIR}
77
8- if cd /opt/python-wasm-sdk/
8+ mv * ${SDKDIR} /
9+
10+ if cd ${SDKDIR} /
911then
1012 mkdir -p build/pycache
1113 export PYTHONDONTWRITEBYTECODE=1
3335 echo " making tarball"
3436
3537 mkdir -p sdk
36- tar -cpRj config emsdk devices/* prebuilt/* > sdk/python-wasm-sdk-stable.tar.bz2
38+ tar -cpRj ${SDKDIR} / config ${SDKDIR} / emsdk ${SDKDIR} / devices/* ${SDKDIR} / prebuilt/* > sdk/python-wasm-sdk-stable.tar.bz2
3739 else
3840 echo " cpython-build-emsdk-deps failed"
3941 exit 2
4042 fi
41- mkdir -p sdk
42- tar -cpRj config emsdk devices/* prebuilt/* > sdk/python-wasm-sdk-stable.tar.bz2
4343 else
4444 echo " cpython-build-emsdk failed"
4545 exit 1
Original file line number Diff line number Diff line change 1+ """The asyncio package, tracking PEP 3156."""
2+
3+ # flake8: noqa
4+
5+ import sys
6+
7+ # This relies on each of the submodules having an __all__ variable.
8+ from .base_events import *
9+ from .coroutines import *
10+ from .events import *
11+ from .exceptions import *
12+ from .futures import *
13+ from .locks import *
14+ from .protocols import *
15+ from .runners import *
16+ from .queues import *
17+ from .streams import *
18+ from .subprocess import *
19+ from .tasks import *
20+ from .taskgroups import *
21+ from .timeouts import *
22+ from .threads import *
23+ from .transports import *
24+
25+ __all__ = (base_events .__all__ +
26+ coroutines .__all__ +
27+ events .__all__ +
28+ exceptions .__all__ +
29+ futures .__all__ +
30+ locks .__all__ +
31+ protocols .__all__ +
32+ runners .__all__ +
33+ queues .__all__ +
34+ streams .__all__ +
35+ subprocess .__all__ +
36+ tasks .__all__ +
37+ threads .__all__ +
38+ timeouts .__all__ +
39+ transports .__all__ )
40+
41+ if sys .platform == 'win32' : # pragma: no cover
42+ from .windows_events import *
43+ __all__ += windows_events .__all__
44+ elif sys .platform in ['emscripten' ,'wasi' ]:
45+ from .wasm_events import *
46+ __all__ += wasm_events .__all__
47+ else :
48+ from .unix_events import * # pragma: no cover
49+ __all__ += unix_events .__all__
50+
51+
You can’t perform that action at this time.
0 commit comments