kopia lustrzana https://github.com/micropython/micropython-lib
fcntl: Switch to ffilib.
rodzic
4336125d3a
commit
6752c6a66a
|
@ -1,9 +1,9 @@
|
||||||
import ffi
|
import ffi
|
||||||
import os
|
import os
|
||||||
import _libc
|
import ffilib
|
||||||
|
|
||||||
|
|
||||||
libc = _libc.get()
|
libc = ffilib.libc()
|
||||||
|
|
||||||
fcntl_l = libc.func("i", "fcntl", "iil")
|
fcntl_l = libc.func("i", "fcntl", "iil")
|
||||||
fcntl_s = libc.func("i", "fcntl", "iip")
|
fcntl_s = libc.func("i", "fcntl", "iip")
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
srctype = micropython-lib
|
srctype = micropython-lib
|
||||||
type = module
|
type = module
|
||||||
version = 0.0.2
|
version = 0.0.3
|
||||||
author = Paul Sokolovsky
|
author = Paul Sokolovsky
|
||||||
depends = libc
|
depends = ffilib
|
||||||
|
|
|
@ -6,7 +6,7 @@ from setuptools import setup
|
||||||
|
|
||||||
|
|
||||||
setup(name='micropython-fcntl',
|
setup(name='micropython-fcntl',
|
||||||
version='0.0.2',
|
version='0.0.3',
|
||||||
description='fcntl module for MicroPython',
|
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.",
|
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-fcntl',
|
||||||
maintainer_email='micro-python@googlegroups.com',
|
maintainer_email='micro-python@googlegroups.com',
|
||||||
license='MIT',
|
license='MIT',
|
||||||
py_modules=['fcntl'],
|
py_modules=['fcntl'],
|
||||||
install_requires=['micropython-libc'])
|
install_requires=['micropython-ffilib'])
|
||||||
|
|
Ładowanie…
Reference in New Issue