Minor fixes

This commit is contained in:
Jérôme Leclercq
2021-12-23 17:39:37 +01:00
parent b53d2a0560
commit d4dfe97006
5 changed files with 12 additions and 8 deletions

View File

@@ -43,7 +43,12 @@ package("qt5base")
end)
on_install("windows", "linux", "macosx", "mingw", "android", "iphoneos", function (package)
os.vrunv("python", {"-m", "ensurepip"})
-- ensurepip is dropped in recent releases
try
{
function () os.vrunv("python", {"-m", "ensurepip"}) end
}
os.vrunv("python", {"-m", "pip", "install", "-U", "pip"})
os.vrunv("python", {"-m", "pip", "install", "aqtinstall"})