1
0
Fork 0
mirror of https://github.com/cisagov/log4j-affected-db.git synced 2024-11-22 08:30:48 +00:00

Update configuration instructions for pyenv

With the release of pyenv v2.0.0 there is a breaking change around startup
logic that necessitates an update for our pyenv setup instructions. Also
add a statement about how to get configuration instructions from pyenv
itself.
This commit is contained in:
Nicholas McDonnell 2021-06-01 11:14:31 -04:00
parent 09744fad25
commit 23b324befc
No known key found for this signature in database
GPG key ID: 7994ADE2A56BE5D1

View file

@ -64,6 +64,9 @@ installation is as simple as `brew install pyenv pyenv-virtualenv` and
adding this to your profile: adding this to your profile:
```bash ```bash
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)" eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)" eval "$(pyenv virtualenv-init -)"
``` ```
@ -80,14 +83,35 @@ On WSL you should treat your platform as whatever Linux distribution
you've chosen to install. you've chosen to install.
Once you have installed `pyenv` you will need to add the following Once you have installed `pyenv` you will need to add the following
lines to your `.bashrc`: lines to your `.bash_profile` (or `.profile`):
```bash
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
```
and then add the following lines to your `.bashrc`:
```bash ```bash
export PATH="$PATH:$HOME/.pyenv/bin"
eval "$(pyenv init -)" eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)" eval "$(pyenv virtualenv-init -)"
``` ```
If you want more information about setting up `pyenv` once installed, please run
```console
pyenv init
```
and
```console
pyenv virtualenv-init
```
for the current configuration instructions.
If you are using a shell other than `bash` you should follow the If you are using a shell other than `bash` you should follow the
instructions that the `pyenv-installer` script outputs. instructions that the `pyenv-installer` script outputs.