os.path: Add sep

We only support unix compatible '/'
pull/63/merge
Michael Buesch 2015-12-09 21:29:03 +01:00 zatwierdzone przez Paul Sokolovsky
rodzic 5477729d50
commit 5396b3010d
3 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -1,4 +1,4 @@
srctype = micropython-lib srctype = micropython-lib
type = package type = package
version = 0.1.1 version = 0.1.2
author = Paul Sokolovsky author = Paul Sokolovsky

Wyświetl plik

@ -1,6 +1,8 @@
import os import os
sep = "/"
def normcase(s): def normcase(s):
return s return s

Wyświetl plik

@ -6,7 +6,7 @@ from setuptools import setup
setup(name='micropython-os.path', setup(name='micropython-os.path',
version='0.1.1', version='0.1.2',
description='os.path module for MicroPython', description='os.path 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',