pkg_resources is deprecated as an API. The pkg_resources package
has been removed from setuptools, so the way of obtaining the
version needs to be replaced with importlib.metadata module.
Signed-off-by: Bai, Haiqing <Haiqing.Bai@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
stopit is a library to raise asynchronous exceptions in other threads, control
the timeout of blocks or callables with two context managers and two decorators.
The license isn't shipped in the pypi package, so it was extracted from the
github repo at [1].
[1] https://github.com/glenfant/stopit/blob/master/LICENSE
Signed-off-by: Adrian Zaharia <Adrian.Zaharia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>