mirror of https://github.com/acidanthera/audk.git
BaseTools: Add python3-distutils Ubuntu package checking
https://bugzilla.tianocore.org/show_bug.cgi?id=1509 Add python3-distutils Ubuntu package checking. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
This commit is contained in:
parent
ece4c1de3e
commit
407f5a0571
|
@ -19,6 +19,13 @@ import os
|
|||
import sys
|
||||
import unittest
|
||||
|
||||
try:
|
||||
import distutils.util
|
||||
except ModuleNotFoundError:
|
||||
sys.exit('''
|
||||
Python reported: "No module named 'distutils.util"
|
||||
''')
|
||||
|
||||
import TestTools
|
||||
|
||||
def GetCTestSuite():
|
||||
|
|
Loading…
Reference in New Issue