2021-10-10 13:22:02 +00:00
|
|
|
import os
|
|
|
|
|
|
|
|
MAIN = 'msys'
|
|
|
|
|
2021-10-10 13:44:03 +00:00
|
|
|
FAMILIES = [MAIN, 'clang', 'mingw', 'ucrt']
|
|
|
|
|
2021-10-10 13:22:02 +00:00
|
|
|
|
|
|
|
class SubSystem:
|
2021-10-10 13:46:37 +00:00
|
|
|
def __init__(self, architecture, name):
|
2021-10-10 13:22:02 +00:00
|
|
|
self.architecture = architecture
|
|
|
|
self.name = name
|
|
|
|
|
|
|
|
def __str__(self):
|
|
|
|
lines = [
|
|
|
|
f'Architecture: {self.architecture.name}',
|
|
|
|
f' Name: {self.name}',
|
|
|
|
]
|
|
|
|
return os.linesep.join(lines)
|