Skip to content

Commit 819f402

Browse files
author
Paul Sokolovsky
committed
timeit: Release 3.3.3-2.
Adds proper dependencies in addition to making it actually work on uPy by not disabling memory allocation.
1 parent 68b91ee commit 819f402

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

timeit/metadata.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
srctype = cpython
22
type = module
3-
version = 3.3.3-1
3+
version = 3.3.3-2
4+
depends = getopt, itertools, linecache, time, traceback

timeit/setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77

88
setup(name='micropython-timeit',
9-
version='3.3.3-1',
9+
version='3.3.3-2',
1010
description='CPython timeit module ported to MicroPython',
1111
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.',
1212
url='https://github.com/micropython/micropython/issues/405',
@@ -15,4 +15,5 @@
1515
maintainer='MicroPython Developers',
1616
maintainer_email='[email protected]',
1717
license='Python',
18-
py_modules=['timeit'])
18+
py_modules=['timeit'],
19+
install_requires=['micropython-getopt', 'micropython-itertools', 'micropython-linecache', 'micropython-time', 'micropython-traceback'])

0 commit comments

Comments
 (0)