diff --git a/os/metadata.txt b/os/metadata.txt index 38b2b3f9..c4d0e502 100644 --- a/os/metadata.txt +++ b/os/metadata.txt @@ -1,5 +1,5 @@ srctype = micropython-lib type = package -version = 0.4 +version = 0.4.1 author = Paul Sokolovsky depends = ffilib, errno, stat diff --git a/os/os/__init__.py b/os/os/__init__.py index dec92677..8613d10e 100644 --- a/os/os/__init__.py +++ b/os/os/__init__.py @@ -70,6 +70,7 @@ def check_error(ret): def raise_error(): raise OSError(uos.errno()) +stat = uos.stat def getcwd(): buf = bytearray(512) diff --git a/os/setup.py b/os/setup.py index 985e83f2..37cf8a50 100644 --- a/os/setup.py +++ b/os/setup.py @@ -6,7 +6,7 @@ from setuptools import setup setup(name='micropython-os', - version='0.4', + version='0.4.1', 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',