9 lines
318 B
Bash
Executable File
9 lines
318 B
Bash
Executable File
#!/bin/bash
|
|
|
|
build_dir="$(mktemp -d)"
|
|
charm="$(egrep '^name\S*:' ./metadata.yaml | awk '{ print $2 }')"
|
|
function cleanup { rm -rf "$build_dir"; }
|
|
trap cleanup EXIT
|
|
|
|
charm build . --build-dir "$build_dir" --debug
|
|
pip install -f "$build_dir/$charm/wheelhouse" --no-index --no-cache-dir "$build_dir"/"$charm"/wheelhouse/* |