fix use dulwich befor installation

This commit is contained in:
helgeerbe 2023-08-10 13:27:45 +02:00
parent 8e4f234517
commit 1100f10c99

View File

@ -3,7 +3,6 @@
# Copyright (C) 2022 Thomas Basler and others
#
import pkg_resources
from dulwich import porcelain
Import("env")
@ -14,6 +13,7 @@ missing_pkgs = required_pkgs - installed_pkgs
if missing_pkgs:
env.Execute('"$PYTHONEXE" -m pip install dulwich')
from dulwich import porcelain
def get_firmware_specifier_build_flag():
try: