kopia lustrzana https://github.com/micropython/micropython-lib
os: Re-export stat() from uos module.
rodzic
0fef3f2f67
commit
c9b6eafcb7
|
@ -1,5 +1,5 @@
|
||||||
srctype = micropython-lib
|
srctype = micropython-lib
|
||||||
type = package
|
type = package
|
||||||
version = 0.4
|
version = 0.4.1
|
||||||
author = Paul Sokolovsky
|
author = Paul Sokolovsky
|
||||||
depends = ffilib, errno, stat
|
depends = ffilib, errno, stat
|
||||||
|
|
|
@ -70,6 +70,7 @@ def check_error(ret):
|
||||||
def raise_error():
|
def raise_error():
|
||||||
raise OSError(uos.errno())
|
raise OSError(uos.errno())
|
||||||
|
|
||||||
|
stat = uos.stat
|
||||||
|
|
||||||
def getcwd():
|
def getcwd():
|
||||||
buf = bytearray(512)
|
buf = bytearray(512)
|
||||||
|
|
|
@ -6,7 +6,7 @@ from setuptools import setup
|
||||||
|
|
||||||
|
|
||||||
setup(name='micropython-os',
|
setup(name='micropython-os',
|
||||||
version='0.4',
|
version='0.4.1',
|
||||||
description='os module for MicroPython',
|
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.",
|
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',
|
||||||
|
|
Ładowanie…
Reference in New Issue