Start organizing platform-specific Python code

This starts to split platform-specific Python code into its own module,
which should help to tidy up our mach commands and make things more
reusable.
This commit is contained in:
Martin Robinson 2023-05-18 15:09:30 +02:00
parent e09f85e17b
commit 5be14ecc3c
14 changed files with 462 additions and 405 deletions

View file

@ -77,7 +77,7 @@ import os
import os.path as path
import re
import uuid
from servo.command_base import host_triple
from servo.platform import host_triple
def make_id(s):
s = s.replace("-", "_").replace("/", "_").replace("\\", "_")