From 949b0d53f44247e2f9e608c510f06c53c912de74 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 7 May 2015 00:29:33 +0300 Subject: [PATCH] os: Update for builtin "struct" renamed to "ustruct". --- os/metadata.txt | 2 +- os/os/__init__.py | 2 +- os/setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/os/metadata.txt b/os/metadata.txt index 99bfe4a9..f14e740c 100644 --- a/os/metadata.txt +++ b/os/metadata.txt @@ -1,5 +1,5 @@ srctype = micropython-lib type = package -version = 0.2 +version = 0.2.1 author = Paul Sokolovsky depends = libc, errno, stat diff --git a/os/os/__init__.py b/os/os/__init__.py index 36210aba..ad6cd2e8 100644 --- a/os/os/__init__.py +++ b/os/os/__init__.py @@ -1,6 +1,6 @@ import ffi import array -import struct +import ustruct as struct import errno import stat as stat_ import _libc diff --git a/os/setup.py b/os/setup.py index de4792a5..c3f6ba57 100644 --- a/os/setup.py +++ b/os/setup.py @@ -6,7 +6,7 @@ from setuptools import setup setup(name='micropython-os', - version='0.2', + version='0.2.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',