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

Commit

Permalink
Merge pull request #139 from joaocgreis/joaocgreis-I95-python-2.7.15
Browse files Browse the repository at this point in the history
Update Python to 2.7.15
  • Loading branch information
felixrieseberg authored Sep 6, 2018
2 parents b50925c + b2633a4 commit d11a4dc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ it's installed. Alternatively, you can prepare a folder that contains installers
have their original names:

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

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

Expand Down
6 changes: 3 additions & 3 deletions __tests__/utils/get-python-installer-path-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ describe('getPythonInstallerPath', () => {

expect(getPythonInstallerPath()).toEqual({
directory: 'C:\\workDir',
fileName: `python-2.7.14.${amd64}msi`,
fileName: `python-2.7.15.${amd64}msi`,
logPath: 'C:\\workDir\\python-log.txt',
path: `C:\\workDir\\python-2.7.14.${amd64}msi`,
path: `C:\\workDir\\python-2.7.15.${amd64}msi`,
targetPath: 'C:\\workDir\\python27',
url: `https://www.python.org/ftp/python/2.7.14/python-2.7.14.${amd64}msi`,
url: `https://www.python.org/ftp/python/2.7.15/python-2.7.15.${amd64}msi`,
});
});
});
8 changes: 4 additions & 4 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ export const IS_PYTHON_INSTALLED = !!INSTALLED_PYTHON_VERSION;

export const PYTHON = process.arch === 'x64'
? {
installerName: 'python-2.7.14.amd64.msi',
installerUrl: pythonMirror.replace(/\/*$/, '/2.7.14/python-2.7.14.amd64.msi'),
installerName: 'python-2.7.15.amd64.msi',
installerUrl: pythonMirror.replace(/\/*$/, '/2.7.15/python-2.7.15.amd64.msi'),
targetName: 'python27',
logName: 'python-log.txt'
} : {
installerName: 'python-2.7.14.msi',
installerUrl: pythonMirror.replace(/\/*$/, '/2.7.14/python-2.7.14.msi'),
installerName: 'python-2.7.15.msi',
installerUrl: pythonMirror.replace(/\/*$/, '/2.7.15/python-2.7.15.msi'),
targetName: 'python27',
logName: 'python-log.txt'
};
Expand Down

0 comments on commit d11a4dc

Please sign in to comment.