[skip-ci]install asciinema with pip
This commit is contained in:
parent
07f7b5a6de
commit
fe6e48f6dd
1 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,7 @@ fun Prov.provisionPython(venvHome: String? = "~/.venv/meissa") = task {
|
|||
installRestClient(venvHome)
|
||||
installJupyterlab(venvHome)
|
||||
installLinters(venvHome)
|
||||
installAsciinema(venvHome)
|
||||
}
|
||||
|
||||
fun Prov.installPython3(): ProvResult = task {
|
||||
|
@ -45,6 +46,9 @@ fun Prov.installJupyterlab(venvHome: String? = null): ProvResult = task {
|
|||
fun Prov.installLinters(venvHome: String? = null): ProvResult = task {
|
||||
pipInstall("flake8 mypy pylint", venvHome)
|
||||
}
|
||||
fun Prov.installAsciinema(venvHome: String? = null): ProvResult = task {
|
||||
pipInstall("asciinema", venvHome)
|
||||
}
|
||||
|
||||
private fun Prov.pipInstall(pkg: String, venvHome: String? = null) {
|
||||
cmd(activateVenvCommandPrefix(venvHome) + "pip3 install $pkg")
|
||||
|
|
Loading…
Reference in a new issue