diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2022-01-02 23:15:28 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2022-01-02 23:15:28 +0100 |
commit | 9297853b633e6de7b2b34b4e0b1b414b36e883bd (patch) | |
tree | d5051bf285aca26a68273f077d4c7b9e7a9d39cd /.builds/debian.yml | |
parent | changed build image to ubuntu/22.04. (diff) | |
download | newspipe-9297853b633e6de7b2b34b4e0b1b414b36e883bd.tar.gz newspipe-9297853b633e6de7b2b34b4e0b1b414b36e883bd.tar.bz2 newspipe-9297853b633e6de7b2b34b4e0b1b414b36e883bd.zip |
install pyenv
Diffstat (limited to '.builds/debian.yml')
-rw-r--r-- | .builds/debian.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.builds/debian.yml b/.builds/debian.yml index e016720b..2cff3b11 100644 --- a/.builds/debian.yml +++ b/.builds/debian.yml @@ -10,7 +10,13 @@ environment: project: newspipe tasks: - dependencies: | - pip3 install --user poetry + curl https://pyenv.run | bash + export PYENV_ROOT="$HOME/.pyenv" + export PATH="$PYENV_ROOT/bin:$PATH" + eval "$(pyenv init --path)" + pyenv install 3.10.0 + pyenv global 3.10.0 + pip install --user poetry export PATH="$PATH:/home/build/.local/bin" cd ${project} poetry install |