mirror of https://github.com/aminya/setup-cpp
fix: do not use version for system python
This commit is contained in:
parent
c1a994e5bd
commit
15b1b24116
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -18,7 +18,7 @@
|
|||
"test.unit": "jest --runInBand",
|
||||
"test": "run-p test.format test.lint test.tsc test.unit",
|
||||
"pack.exe": "shx rm -rf ./dist/tsconfig.tsbuildinfo && node ./building/scripts/pack-exe.js",
|
||||
"build.docker": "pnpm build && docker build -f ./building/docker/node.dockerfile -t setup_cpp .",
|
||||
"build.docker": "pnpm build && docker build -f ./building/docker/linux.dockerfile -t setup_cpp .",
|
||||
"start.docker": "docker run -t setup_cpp ."
|
||||
},
|
||||
"engines": {
|
||||
|
|
|
@ -16,7 +16,8 @@ function isPyPyVersion(versionSpec: string) {
|
|||
|
||||
export async function setupPython(version: string, setupCppDir: string, arch: string) {
|
||||
if (!isCI()) {
|
||||
return setupPythonViaSystem(version, setupCppDir, arch)
|
||||
// TODO parse versoin
|
||||
return setupPythonViaSystem("", setupCppDir, arch)
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue