Skip to content

Instantly share code, notes, and snippets.

@dend
Created November 5, 2015 06:36
Show Gist options
  • Save dend/a36b1d9085d6512d2bfd to your computer and use it in GitHub Desktop.
Save dend/a36b1d9085d6512d2bfd to your computer and use it in GitHub Desktop.
$source = "https://www.python.org/ftp/python/3.4.3/python-3.4.3.amd64.msi"
$destination = "c:\Python34\python-3.4.3.amd64.msi"
Write-Host "Downloading Python..."
mkdir C:\Python34
Invoke-WebRequest $source -OutFile $destination
Write-Host "Download complete. Installing Python..."
msiexec /i c:\Python34\python-3.4.3.amd64.msi TARGETDIR=C:\Python34 /qn | Out-Null
Write-Host "Installation complete."
$env:Path += ";C:\Python34;C:\Python34\Scripts"
Write-Host "Installing SPHINX..."
pip install sphinx | Out-Null
Write-Host "SPHINX installation complete."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment