diff --git a/playbooks/publish-pypi-package/post-run.yaml b/playbooks/publish-pypi-package/post-run.yaml index af83762..921ccee 100644 --- a/playbooks/publish-pypi-package/post-run.yaml +++ b/playbooks/publish-pypi-package/post-run.yaml @@ -4,6 +4,8 @@ roles: - upload-pypi vars: + python_venv_dir: "$HOME/venv" + pypi_twine_executable: "{{ python_venv_dir }}/bin/python -m twine" pypi_info: api_token: "{{ secret.PYPI_API_TOKEN }}" pypi_path: "{{ zuul.project.src_dir }}/dist" diff --git a/roles/prepare-package-build/defaults/main.yml b/roles/prepare-package-build/defaults/main.yml index d5879ef..450c60e 100644 --- a/roles/prepare-package-build/defaults/main.yml +++ b/roles/prepare-package-build/defaults/main.yml @@ -1,4 +1,4 @@ --- # defaults file for prepare-package-build zuul_work_dir: "{{ zuul.project.src_dir }}" -python_venv_dir: "/tmp/venv" +python_venv_dir: "$HOME/venv" diff --git a/roles/python-package-build/defaults/main.yml b/roles/python-package-build/defaults/main.yml index bdaee19..8727d52 100644 --- a/roles/python-package-build/defaults/main.yml +++ b/roles/python-package-build/defaults/main.yml @@ -1,4 +1,4 @@ --- # defaults file for python-package-build zuul_work_dir: "{{ zuul.project.src_dir }}" -python_venv_dir: "/tmp/venv" +python_venv_dir: "$HOME/venv"