- Add your target Python version as a variable:
- Add Pyenv in a
buildhook:
python --version.
If you want this Python version to be available in the runtime environment, follow these steps:
- Copy Pyenv to your runtime environment at the end of your build hook:
-
Create an
.environmentfile: -
Update the PATH for the runtime environment:
.environment