os: Add name, environ vars (last - as dummy).

pull/118/head^2
Paul Sokolovsky 2014-06-11 00:09:23 +03:00
rodzic 1d842f4152
commit 10c51e681a
3 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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:

Wyświetl plik

@ -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',