Bug 1275437 - Moved installing of Python into an install_python method in the windows bootstrapper; r=gps

The correct version of Python will get installed from the install_python method instead of with the system packages.

This is more in-line with how a bootstrapper *should* extend from the base bootstrapper.

MozReview-Commit-ID: JIMGF7XKL02

--HG--
extra : rebase_source : dc70bdf555afe0a0dfb253e01381b5e6fa52eee3
This commit is contained in:
Nathan Hakkakzadeh 2016-05-31 17:15:31 -07:00
parent 452a80bc35
commit db1f388642

View File

@ -13,7 +13,6 @@ class WindowsBootstrapper(BaseBootstrapper):
SYSTEM_PACKAGES = [
'mingw-w64-x86_64-make',
'mingw-w64-x86_64-python2',
'mingw-w64-x86_64-python2-pip',
'mingw-w64-x86_64-perl',
'patch',
@ -56,6 +55,9 @@ class WindowsBootstrapper(BaseBootstrapper):
def upgrade_mercurial(self, current):
self.pip_install('mercurial')
def upgrade_python(self, current):
self.pacman_install('mingw-w64-x86_64-python2')
def install_browser_packages(self):
self.pacman_install(*self.BROWSER_PACKAGES)