select: Depend on _libc.

pull/118/head^2
Paul Sokolovsky 2014-06-21 14:59:35 +03:00
rodzic 50cdc4d93a
commit d32312e2d8
3 zmienionych plików z 6 dodań i 5 usunięć

Wyświetl plik

@ -1,5 +1,5 @@
srctype = micropython-lib
type = module
version = 0.0.6
version = 0.0.7
author = Paul Sokolovsky
depends = os
depends = os, libc

Wyświetl plik

@ -2,9 +2,10 @@ import ffi
import struct
import os
import errno
import _libc
libc = ffi.open("libc.so.6")
libc = _libc.get()
#int epoll_create(int size);
epoll_create = libc.func("i", "epoll_create", "i")

Wyświetl plik

@ -6,7 +6,7 @@ from setuptools import setup
setup(name='micropython-select',
version='0.0.6',
version='0.0.7',
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.",
url='https://github.com/micropython/micropython/issues/405',
@ -16,4 +16,4 @@ setup(name='micropython-select',
maintainer_email='micro-python@googlegroups.com',
license='MIT',
py_modules=['select'],
install_requires=['micropython-os'])
install_requires=['micropython-os', 'micropython-libc'])