kopia lustrzana https://github.com/micropython/micropython-lib
select: Depend on _libc.
rodzic
50cdc4d93a
commit
d32312e2d8
|
@ -1,5 +1,5 @@
|
||||||
srctype = micropython-lib
|
srctype = micropython-lib
|
||||||
type = module
|
type = module
|
||||||
version = 0.0.6
|
version = 0.0.7
|
||||||
author = Paul Sokolovsky
|
author = Paul Sokolovsky
|
||||||
depends = os
|
depends = os, libc
|
||||||
|
|
|
@ -2,9 +2,10 @@ import ffi
|
||||||
import struct
|
import struct
|
||||||
import os
|
import os
|
||||||
import errno
|
import errno
|
||||||
|
import _libc
|
||||||
|
|
||||||
|
|
||||||
libc = ffi.open("libc.so.6")
|
libc = _libc.get()
|
||||||
|
|
||||||
#int epoll_create(int size);
|
#int epoll_create(int size);
|
||||||
epoll_create = libc.func("i", "epoll_create", "i")
|
epoll_create = libc.func("i", "epoll_create", "i")
|
||||||
|
|
|
@ -6,7 +6,7 @@ from setuptools import setup
|
||||||
|
|
||||||
|
|
||||||
setup(name='micropython-select',
|
setup(name='micropython-select',
|
||||||
version='0.0.6',
|
version='0.0.7',
|
||||||
description='select module for MicroPython',
|
description='select module for MicroPython',
|
||||||
long_description="This is a module reimplemented specifically for MicroPython standard library,\nwith efficient and lean design in mind. Note that this module is likely work\nin progress and likely supports just a subset of CPython's corresponding\nmodule. Please help with the development if you are interested in this\nmodule.",
|
long_description="This is a module reimplemented specifically for MicroPython standard library,\nwith efficient and lean design in mind. Note that this module is likely work\nin progress and likely supports just a subset of CPython's corresponding\nmodule. Please help with the development if you are interested in this\nmodule.",
|
||||||
url='https://github.com/micropython/micropython/issues/405',
|
url='https://github.com/micropython/micropython/issues/405',
|
||||||
|
@ -16,4 +16,4 @@ setup(name='micropython-select',
|
||||||
maintainer_email='micro-python@googlegroups.com',
|
maintainer_email='micro-python@googlegroups.com',
|
||||||
license='MIT',
|
license='MIT',
|
||||||
py_modules=['select'],
|
py_modules=['select'],
|
||||||
install_requires=['micropython-os'])
|
install_requires=['micropython-os', 'micropython-libc'])
|
||||||
|
|
Ładowanie…
Reference in New Issue