__future__: Add dummies for all available feature descriptions

This will make statements such as
from __future__ import division
not fail.
pull/57/merge
Michael Buesch 2015-12-05 19:22:03 +01:00 zatwierdzone przez Paul Sokolovsky
rodzic b6d9dd67d5
commit 4f36827a6c
3 zmienionych plików z 8 dodań i 2 usunięć

Wyświetl plik

@ -1 +1,7 @@
nested_scopes = True
generators = True
division = True
absolute_import = True
with_statement = True
print_function = True print_function = True
unicode_literals = True

Wyświetl plik

@ -1,4 +1,4 @@
srctype=dummy srctype=dummy
type=module type=module
version=0.0.1 version=0.0.2
dist_name=future dist_name=future

Wyświetl plik

@ -6,7 +6,7 @@ from setuptools import setup
setup(name='micropython-future', setup(name='micropython-future',
version='0.0.1', version='0.0.2',
description='Dummy __future__ module for MicroPython', description='Dummy __future__ module for MicroPython',
long_description='This is a dummy implementation of a module for MicroPython standard library.\nIt contains zero or very little functionality, and primarily intended to\navoid import errors (using idea that even if an application imports a\nmodule, it may be not using it onevery code path, so may work at least\npartially). It is expected that more complete implementation of the module\nwill be provided later. Please help with the development if you are\ninterested in this module.', long_description='This is a dummy implementation of a module for MicroPython standard library.\nIt contains zero or very little functionality, and primarily intended to\navoid import errors (using idea that even if an application imports a\nmodule, it may be not using it onevery code path, so may work at least\npartially). It is expected that more complete implementation of the module\nwill be provided later. Please help with the development if you are\ninterested in this module.',
url='https://github.com/micropython/micropython/issues/405', url='https://github.com/micropython/micropython/issues/405',