1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-09-06 20:11:53 +01:00

misc: Add batch_contextmanager

Convenience wrapper around standard contextlib.ExitStack class.
This commit is contained in:
Douglas RAILLARD
2019-05-09 16:21:00 +01:00
committed by Marc Bonnici
parent 71bd8b10ed
commit ded30eef00
2 changed files with 24 additions and 0 deletions

View File

@@ -85,6 +85,7 @@ params = dict(
'wrapt', # Basic for construction of decorator functions
'future', # Python 2-3 compatibility
'enum34;python_version<"3.4"', # Enums for Python < 3.4
'contextlib2;python_version<"3.0"', # Python 3 contextlib backport for Python 2
'numpy<=1.16.4; python_version<"3"',
'numpy; python_version>="3"',
'pandas<=0.24.2; python_version<"3"',