1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-python synced 2025-06-08 20:38:19 +02:00

code update for freethreaded

This commit is contained in:
Aparna Jyothi 2025-05-02 18:27:28 +05:30
parent 404bd3b57d
commit 0b865b97c9
2 changed files with 6 additions and 0 deletions

3
dist/setup/index.js vendored
View file

@ -96897,6 +96897,9 @@ function useCpythonVersion(version, architecture, updateEnvironment, checkLatest
// Append 't' for freethreaded builds
if (freethreaded) {
versionSuffix += 't';
if (architecture === 'x86-freethreaded') {
versionSuffix += '-32';
}
}
// Add user Scripts path
const userScriptsDir = path.join(basePath, 'Python', `Python${versionSuffix}`, 'Scripts');

View file

@ -168,6 +168,9 @@ export async function useCpythonVersion(
// Append 't' for freethreaded builds
if (freethreaded) {
versionSuffix += 't';
if (architecture === 'x86-freethreaded') {
versionSuffix += '-32';
}
}
// Add user Scripts path
const userScriptsDir = path.join(