Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
SOWI Administratoren
chocolatey-packages
Commits
4a17d181
Commit
4a17d181
authored
Nov 04, 2012
by
Elliando Dias
Browse files
Merge pull request #7 from Iristyle/patch-2
PYTHONHOME must be set in running script
parents
68c297e6
a36d0f33
Changes
1
Hide whitespace changes
Inline
Side-by-side
easy.install/tools/chocolateyInstall.ps1
View file @
4a17d181
...
...
@@ -117,6 +117,7 @@ function setup-python() {
Write-Host
"Setting PYTHONHOME environment variable to '
$python_home
'"
Write-Host
"PS: PYTHONHOME variable is not required to Python works, but it is a good practice to have it."
[
Environment
]::
SetEnvironmentVariable
(
'PYTHONHOME'
,
$python_home
,
'User'
)
$
Env
:
PYTHONHOME
=
$python_home
return
$python_home
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment