kopia lustrzana https://github.com/micropython/micropython-lib
uasyncio: Rename asyncio_micro to uasyncio.
rodzic
545a033933
commit
8e97b6972a
|
@ -1,6 +1,6 @@
|
|||
srctype = micropython-lib
|
||||
type = module
|
||||
version = 0.5
|
||||
version = 0.6
|
||||
author = Paul Sokolovsky
|
||||
long_desc = Lightweight asyncio-like library built around native Python coroutines, not around un-Python devices like callback mess.
|
||||
depends = heapq, errno, select, logging
|
|
@ -5,9 +5,9 @@ sys.path.pop(0)
|
|||
from setuptools import setup
|
||||
|
||||
|
||||
setup(name='micropython-asyncio_micro',
|
||||
version='0.5',
|
||||
description='asyncio_micro module for MicroPython',
|
||||
setup(name='micropython-uasyncio',
|
||||
version='0.6',
|
||||
description='uasyncio module for MicroPython',
|
||||
long_description='Lightweight asyncio-like library built around native Python coroutines, not around un-Python devices like callback mess.',
|
||||
url='https://github.com/micropython/micropython/issues/405',
|
||||
author='Paul Sokolovsky',
|
||||
|
@ -15,5 +15,5 @@ setup(name='micropython-asyncio_micro',
|
|||
maintainer='MicroPython Developers',
|
||||
maintainer_email='micro-python@googlegroups.com',
|
||||
license='MIT',
|
||||
py_modules=['asyncio_micro'],
|
||||
py_modules=['uasyncio'],
|
||||
install_requires=['micropython-heapq', 'micropython-errno', 'micropython-select', 'micropython-logging'])
|
|
@ -1,4 +1,4 @@
|
|||
import asyncio_micro as asyncio
|
||||
import uasyncio as asyncio
|
||||
import time
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import asyncio_micro as asyncio
|
||||
import uasyncio as asyncio
|
||||
|
||||
@asyncio.coroutine
|
||||
def print_http_headers(url):
|
|
@ -1,4 +1,4 @@
|
|||
import asyncio_micro as asyncio
|
||||
import uasyncio as asyncio
|
||||
|
||||
@asyncio.coroutine
|
||||
def serve(reader, writer):
|
Ładowanie…
Reference in New Issue