fix: do not use version for system python

This commit is contained in:
Amin Yahyaabadi 2021-09-18 08:35:41 -05:00
parent c1a994e5bd
commit 15b1b24116
5 changed files with 5 additions and 4 deletions

2
dist/setup_cpp.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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": {

View File

@ -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 {