forked from Madoshakalaka/pipenv-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Madoshakalaka#75] use
tox
on windows jobs
Signed-off-by: Bryant Finney <[email protected]>
- Loading branch information
1 parent
f760b92
commit 34df2a2
Showing
2 changed files
with
41 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# ------------------------------------------------------------------------------------- | ||
# Summary: Install `pyenv`, populating shell variables needed to run it. | ||
# Created: 2021-11-08 21:16:59 | ||
# Author: Bryant Finney (https://bryant-finney.github.io/about) | ||
# ------------------------------------------------------------------------------------- | ||
choco install -y pyenv-win | ||
|
||
Write-Output '1. add PYENV, PPYENV_HOME, and PYENV_ROOT environment variables' | ||
$env:PYENV = $env:USERPROFILE + '\.pyenv\pyenv-win\' | ||
$env:PYENV_ROOT = $env:USERPROFILE + '\.pyenv\pyenv-win\' | ||
$env:PYENV_HOME = $env:USERPROFILE + '\.pyenv\pyenv-win\' | ||
|
||
Write-Output '2. update the PATH variable' | ||
$env:Path = -Join ( | ||
$env:USERPROFILE, | ||
'\.pyenv\pyenv-win\bin;', | ||
$env:USERPROFILE, | ||
'\.pyenv\pyenv-win\shims;', | ||
$env:Path | ||
) | ||
|
||
pyenv --version | ||
pyenv rehash |
This file contains 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