kopia lustrzana https://github.com/micropython/micropython-lib
upip: Builtin module was renamed to "uos" (consistent with stmhal, etc.)
rodzic
7eb1fbdf35
commit
14e945f1a3
|
@ -1,6 +1,6 @@
|
|||
srctype = micropython-lib
|
||||
type = module
|
||||
version = 0.6.2
|
||||
version = 0.6.3
|
||||
author = Paul Sokolovsky
|
||||
extra_modules = upip_errno, upip_gzip, upip_utarfile
|
||||
desc = Simple package manager for MicroPython.
|
||||
|
|
|
@ -6,7 +6,7 @@ from setuptools import setup
|
|||
|
||||
|
||||
setup(name='micropython-upip',
|
||||
version='0.6.2',
|
||||
version='0.6.3',
|
||||
description='Simple package manager for MicroPython.',
|
||||
long_description='Simple package manager for MicroPython, targetting to be self-hosted (but not yet there). Compatible only with packages without custom setup.py code.',
|
||||
url='https://github.com/micropython/micropython/issues/405',
|
||||
|
|
|
@ -11,7 +11,7 @@ def upip_import(mod, sub=None):
|
|||
return m
|
||||
|
||||
sys = upip_import("sys")
|
||||
import _os as os
|
||||
import uos as os
|
||||
|
||||
errno = upip_import("errno")
|
||||
gzip = upip_import("gzip")
|
||||
|
|
Ładowanie…
Reference in New Issue