From 9946eba58e8cb971f08161495479413d0bad52da Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 10 Jun 2016 22:47:35 +0300 Subject: [PATCH] timeit: Release 3.3.3-2. Adds proper dependencies in addition to making it actually work on uPy by not disabling memory allocation. --- timeit/metadata.txt | 3 ++- timeit/setup.py | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/timeit/metadata.txt b/timeit/metadata.txt index 950962ae..5a781601 100644 --- a/timeit/metadata.txt +++ b/timeit/metadata.txt @@ -1,3 +1,4 @@ srctype = cpython type = module -version = 3.3.3-1 +version = 3.3.3-2 +depends = getopt, itertools, linecache, time, traceback diff --git a/timeit/setup.py b/timeit/setup.py index 9284aedf..97cfd517 100644 --- a/timeit/setup.py +++ b/timeit/setup.py @@ -6,7 +6,7 @@ from setuptools import setup setup(name='micropython-timeit', - version='3.3.3-1', + version='3.3.3-2', description='CPython timeit module ported to MicroPython', long_description='This is a module ported from CPython standard library to be compatible with\nMicroPython interpreter. Usually, this means applying small patches for\nfeatures not supported (yet, or at all) in MicroPython. Sometimes, heavier\nchanges are required. Note that CPython modules are written with availability\nof vast resources in mind, and may not work for MicroPython ports with\nlimited heap. If you are affected by such a case, please help reimplement\nthe module from scratch.', url='https://github.com/micropython/micropython/issues/405', @@ -15,4 +15,5 @@ setup(name='micropython-timeit', maintainer='MicroPython Developers', maintainer_email='micro-python@googlegroups.com', license='Python', - py_modules=['timeit']) + py_modules=['timeit'], + install_requires=['micropython-getopt', 'micropython-itertools', 'micropython-linecache', 'micropython-time', 'micropython-traceback'])