Method
__init__
(self, version: str, variant: str)
Source from the content-addressed store, hash-verified
| 359 | This class wraps a released 2.x series binary. |
| 360 | ''' |
| 361 | def __init__(self, version: str, variant: str): |
| 362 | |
| 363 | self.version = version |
| 364 | |
| 365 | binary = 'astcenc' |
| 366 | post = f'-{variant}' if variant != 'universal' else '' |
| 367 | ext = '.exe' if os.name == 'nt' else '' |
| 368 | binary_path = Path('./') / 'Binaries' / f'{binary}{post}{ext}' |
| 369 | |
| 370 | super().__init__(variant, binary_path) |
Callers
nothing calls this directly
Tested by
no test coverage detected