mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-03 03:42:35 +01:00
Remove dependency on distutils
Align with devlib and remove dependencies on distutils. [1] https://github.com/ARM-software/devlib/pull/631/
This commit is contained in:
@@ -44,7 +44,11 @@ from time import sleep
|
||||
from io import StringIO
|
||||
# pylint: disable=wrong-import-position,unused-import
|
||||
from itertools import chain, cycle
|
||||
from distutils.spawn import find_executable # pylint: disable=no-name-in-module, import-error
|
||||
|
||||
try:
|
||||
from shutil import which as find_executable
|
||||
except ImportError:
|
||||
from distutils.spawn import find_executable # pylint: disable=no-name-in-module, import-error
|
||||
|
||||
from dateutil import tz
|
||||
|
||||
|
Reference in New Issue
Block a user