mirror of
https://github.com/actions/setup-python.git
synced 2025-06-08 06:27:00 +09:00
code update for freethreaded
This commit is contained in:
parent
404bd3b57d
commit
0b865b97c9
2 changed files with 6 additions and 0 deletions
3
dist/setup/index.js
vendored
3
dist/setup/index.js
vendored
|
@ -96897,6 +96897,9 @@ function useCpythonVersion(version, architecture, updateEnvironment, checkLatest
|
||||||
// Append 't' for freethreaded builds
|
// Append 't' for freethreaded builds
|
||||||
if (freethreaded) {
|
if (freethreaded) {
|
||||||
versionSuffix += 't';
|
versionSuffix += 't';
|
||||||
|
if (architecture === 'x86-freethreaded') {
|
||||||
|
versionSuffix += '-32';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Add user Scripts path
|
// Add user Scripts path
|
||||||
const userScriptsDir = path.join(basePath, 'Python', `Python${versionSuffix}`, 'Scripts');
|
const userScriptsDir = path.join(basePath, 'Python', `Python${versionSuffix}`, 'Scripts');
|
||||||
|
|
|
@ -168,6 +168,9 @@ export async function useCpythonVersion(
|
||||||
// Append 't' for freethreaded builds
|
// Append 't' for freethreaded builds
|
||||||
if (freethreaded) {
|
if (freethreaded) {
|
||||||
versionSuffix += 't';
|
versionSuffix += 't';
|
||||||
|
if (architecture === 'x86-freethreaded') {
|
||||||
|
versionSuffix += '-32';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// Add user Scripts path
|
// Add user Scripts path
|
||||||
const userScriptsDir = path.join(
|
const userScriptsDir = path.join(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue