kopia lustrzana https://github.com/micropython/micropython-lib
os: Switch to ffilib from _libc.
rodzic
f5cdf5e89d
commit
156da0b217
|
@ -1,5 +1,5 @@
|
|||
srctype = micropython-lib
|
||||
type = package
|
||||
version = 0.2.1
|
||||
version = 0.2.2
|
||||
author = Paul Sokolovsky
|
||||
depends = libc, errno, stat
|
||||
depends = ffilib, errno, stat
|
||||
|
|
|
@ -3,14 +3,14 @@ import array
|
|||
import ustruct as struct
|
||||
import errno
|
||||
import stat as stat_
|
||||
import _libc
|
||||
import ffilib
|
||||
try:
|
||||
from _os import *
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
libc = _libc.get()
|
||||
libc = ffilib.libc()
|
||||
|
||||
errno_ = libc.var("i", "errno")
|
||||
chdir_ = libc.func("i", "chdir", "s")
|
||||
|
|
|
@ -6,7 +6,7 @@ from setuptools import setup
|
|||
|
||||
|
||||
setup(name='micropython-os',
|
||||
version='0.2.1',
|
||||
version='0.2.2',
|
||||
description='os 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-os',
|
|||
maintainer_email='micro-python@googlegroups.com',
|
||||
license='MIT',
|
||||
packages=['os'],
|
||||
install_requires=['micropython-libc', 'micropython-errno', 'micropython-stat'])
|
||||
install_requires=['micropython-ffilib', 'micropython-errno', 'micropython-stat'])
|
||||
|
|
Ładowanie…
Reference in New Issue