Provision Netron and Lab 1 local assets
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
- name: Create Netron virtual environment
|
||||
command:
|
||||
argv:
|
||||
- "{{ courseware_python_bin }}"
|
||||
- -m
|
||||
- venv
|
||||
- "{{ courseware_netron_venv_dir }}"
|
||||
args:
|
||||
creates: "{{ courseware_netron_venv_dir }}/bin/python"
|
||||
|
||||
- name: Upgrade Netron venv tooling
|
||||
command:
|
||||
argv:
|
||||
- "{{ courseware_netron_venv_dir }}/bin/python"
|
||||
- -m
|
||||
- pip
|
||||
- install
|
||||
- --upgrade
|
||||
- pip
|
||||
- setuptools
|
||||
- wheel
|
||||
|
||||
- name: Install Netron server runtime
|
||||
command:
|
||||
argv:
|
||||
- "{{ courseware_netron_venv_dir }}/bin/python"
|
||||
- -m
|
||||
- pip
|
||||
- install
|
||||
- "netron=={{ courseware_netron_version }}"
|
||||
Reference in New Issue
Block a user