kopia lustrzana https://github.com/micropython/micropython-lib
os: Add name, environ vars (last - as dummy).
rodzic
1d842f4152
commit
10c51e681a
|
@ -1,4 +1,4 @@
|
||||||
srctype = micropython-lib
|
srctype = micropython-lib
|
||||||
type = package
|
type = package
|
||||||
version = 0.1
|
version = 0.1.1
|
||||||
author = Paul Sokolovsky
|
author = Paul Sokolovsky
|
||||||
|
|
|
@ -35,9 +35,12 @@ F_OK = const(0)
|
||||||
|
|
||||||
|
|
||||||
error = OSError
|
error = OSError
|
||||||
|
name = "posix"
|
||||||
sep = "/"
|
sep = "/"
|
||||||
curdir = "."
|
curdir = "."
|
||||||
pardir = ".."
|
pardir = ".."
|
||||||
|
environ = {"WARNING": "NOT_IMPLEMENTED"}
|
||||||
|
|
||||||
|
|
||||||
def check_error(ret):
|
def check_error(ret):
|
||||||
if ret == -1:
|
if ret == -1:
|
||||||
|
|
|
@ -6,7 +6,7 @@ from setuptools import setup
|
||||||
|
|
||||||
|
|
||||||
setup(name='micropython-os',
|
setup(name='micropython-os',
|
||||||
version='0.1',
|
version='0.1.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