Provision Netron and Lab 1 local assets
This commit is contained in:
1 parent
56305680e0
commit
59f3032f91
16 files changed
+248
-216
No files matched your search
@@ -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