mirror of
https://github.com/ArtemSBulgakov/buildozer-action.git
synced 2024-08-16 10:09:52 +02:00
Reload site-packages before importing Buildozer
This commit is contained in:
parent
73f8caba71
commit
564eb997d5
1 changed files with 2 additions and 0 deletions
|
@ -95,6 +95,8 @@ def apply_patches():
|
||||||
print("::group::Applying patches to Buildozer")
|
print("::group::Applying patches to Buildozer")
|
||||||
try:
|
try:
|
||||||
import importlib
|
import importlib
|
||||||
|
import site
|
||||||
|
importlib.reload(site)
|
||||||
globals()["buildozer"] = importlib.import_module("buildozer")
|
globals()["buildozer"] = importlib.import_module("buildozer")
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print(
|
print(
|
||||||
|
|
Loading…
Reference in a new issue