Skip to content

Commit

Permalink
feat: add virtualenv command to use to create jupyterlab venv
Browse files Browse the repository at this point in the history
Update tdp_vars_defaults/jupyter/jupyter.yml

Co-authored-by: Romain Pignolet <[email protected]>
  • Loading branch information
PACordonnier and rpignolet committed Jan 8, 2025
1 parent 5555470 commit 9848dc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions roles/jupyter/lab/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
umask: "0022"
virtualenv: "{{ jupyterlab_root_dir }}/{{ jupyterlab_release }}"
virtualenv_python: "{{ jupyterlab_python_executable }}"
virtualenv_command: "{{ jupyterlab_virtualenv_command }}"

- name: Install Jupyterlab in virtual env
ansible.builtin.pip:
Expand Down
1 change: 1 addition & 0 deletions tdp_vars_defaults/jupyter/jupyter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ jupyterlab_dist_file: "{{ jupyterlab_release }}.tar.gz"
jupyterlab_upload_directory: "{{ binaries_upload_dir }}"

jupyterlab_python_executable: "python3.6"
jupyterlab_virtualenv_command: "{{ jupyterlab_python_executable }} -m venv"

# Jupyterlab installation directory
jupyterlab_root_dir: "{{ tdp_extra_root_dir }}"
Expand Down

0 comments on commit 9848dc4

Please sign in to comment.