fcntl: Switch to ffilib.

pull/46/head
Paul Sokolovsky 2015-09-08 22:27:43 +03:00
rodzic 4336125d3a
commit 6752c6a66a
3 zmienionych plików z 6 dodań i 6 usunięć

Wyświetl plik

@ -1,9 +1,9 @@
import ffi
import os
import _libc
import ffilib
libc = _libc.get()
libc = ffilib.libc()
fcntl_l = libc.func("i", "fcntl", "iil")
fcntl_s = libc.func("i", "fcntl", "iip")

Wyświetl plik

@ -1,5 +1,5 @@
srctype = micropython-lib
type = module
version = 0.0.2
version = 0.0.3
author = Paul Sokolovsky
depends = libc
depends = ffilib

Wyświetl plik

@ -6,7 +6,7 @@ from setuptools import setup
setup(name='micropython-fcntl',
version='0.0.2',
version='0.0.3',
description='fcntl 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-fcntl',
maintainer_email='micro-python@googlegroups.com',
license='MIT',
py_modules=['fcntl'],
install_requires=['micropython-libc'])
install_requires=['micropython-ffilib'])