Created
November 5, 2015 06:36
-
-
Save dend/a36b1d9085d6512d2bfd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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