Skip to content
This repository was archived by the owner on Sep 11, 2021. It is now read-only.

Commit d11a4dc

Browse files
Merge pull request #139 from joaocgreis/joaocgreis-I95-python-2.7.15
Update Python to 2.7.15
2 parents b50925c + b2633a4 commit d11a4dc

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ it's installed. Alternatively, you can prepare a folder that contains installers
100100
have their original names:
101101

102102
* Visual Studio Build Tools: `vs_BuildTools.exe` or `BuildTools_Full.exe`
103-
* Python: `python-2.7.14.amd64.msi` or `python-2.7.14.msi`
103+
* Python: `python-2.7.15.amd64.msi` or `python-2.7.15.msi`
104104

105105
Then, run `windows-build-tools` with the `--offline-installers` argument:
106106

__tests__/utils/get-python-installer-path-test.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ describe('getPythonInstallerPath', () => {
1414

1515
expect(getPythonInstallerPath()).toEqual({
1616
directory: 'C:\\workDir',
17-
fileName: `python-2.7.14.${amd64}msi`,
17+
fileName: `python-2.7.15.${amd64}msi`,
1818
logPath: 'C:\\workDir\\python-log.txt',
19-
path: `C:\\workDir\\python-2.7.14.${amd64}msi`,
19+
path: `C:\\workDir\\python-2.7.15.${amd64}msi`,
2020
targetPath: 'C:\\workDir\\python27',
21-
url: `https://www.python.org/ftp/python/2.7.14/python-2.7.14.${amd64}msi`,
21+
url: `https://www.python.org/ftp/python/2.7.15/python-2.7.15.${amd64}msi`,
2222
});
2323
});
2424
});

src/constants.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ export const IS_PYTHON_INSTALLED = !!INSTALLED_PYTHON_VERSION;
2020

2121
export const PYTHON = process.arch === 'x64'
2222
? {
23-
installerName: 'python-2.7.14.amd64.msi',
24-
installerUrl: pythonMirror.replace(/\/*$/, '/2.7.14/python-2.7.14.amd64.msi'),
23+
installerName: 'python-2.7.15.amd64.msi',
24+
installerUrl: pythonMirror.replace(/\/*$/, '/2.7.15/python-2.7.15.amd64.msi'),
2525
targetName: 'python27',
2626
logName: 'python-log.txt'
2727
} : {
28-
installerName: 'python-2.7.14.msi',
29-
installerUrl: pythonMirror.replace(/\/*$/, '/2.7.14/python-2.7.14.msi'),
28+
installerName: 'python-2.7.15.msi',
29+
installerUrl: pythonMirror.replace(/\/*$/, '/2.7.15/python-2.7.15.msi'),
3030
targetName: 'python27',
3131
logName: 'python-log.txt'
3232
};

0 commit comments

Comments
 (0)