mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-22 23:15:49 +08:00
Merge pull request #299 from ritiek/build-tools-fix
Build: parse pip output correctly
This commit is contained in:
commit
86f5184d14
@ -561,7 +561,7 @@ def checkenv() -> None:
|
||||
piplist = piplist[2:]
|
||||
pipvers: Dict[str, List[int]] = {}
|
||||
for line in piplist:
|
||||
pname, pverraw = line.split()
|
||||
pname, pverraw = line.split()[:2]
|
||||
pver = [int(x) if x.isdigit() else 0 for x in pverraw.split('.')]
|
||||
pipvers[pname] = pver
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user