( installDir: string, resolvedPyPyVersion: string )
| 95 | } |
| 96 | |
| 97 | export function writeExactPyPyVersionFile( |
| 98 | installDir: string, |
| 99 | resolvedPyPyVersion: string |
| 100 | ) { |
| 101 | const pypyFilePath = path.join(installDir, PYPY_VERSION_FILE); |
| 102 | fs.writeFileSync(pypyFilePath, resolvedPyPyVersion); |
| 103 | } |
| 104 | |
| 105 | /** |
| 106 | * Python version should be specified explicitly like "x.y" (3.10, 3.11, etc) |