ca79b49619
This allows existing code that does `import uasyncio` or `import uasyncio as asyncio` to continue working. It uses the same lazy-loading as asyncio to prevent loading of unused features. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
19 lines
358 B
Python
19 lines
358 B
Python
# This list of package files doesn't include task.py because that's provided
|
|
# by the C module.
|
|
package(
|
|
"asyncio",
|
|
(
|
|
"__init__.py",
|
|
"core.py",
|
|
"event.py",
|
|
"funcs.py",
|
|
"lock.py",
|
|
"stream.py",
|
|
),
|
|
base_path="..",
|
|
opt=3,
|
|
)
|
|
|
|
# Backwards-compatible uasyncio module.
|
|
module("uasyncio.py", opt=3)
|