Add example for builder podspec (#1374)

This commit is contained in:
Vivek Singh
2019-11-04 16:02:30 +08:00
committed by Ta-Ching Chen
parent d1ed089c3e
commit e4f44ffa63
12 changed files with 98 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
set -e
# check syntax
python3 -m compileall -l ${SRC_PKG}
# install deps
pip3 install -r ${SRC_PKG}/requirements.txt -t ${SRC_PKG} && cp -r ${SRC_PKG} ${DEPLOY_PKG}
@@ -0,0 +1,4 @@
import yaml
def main():
return "hello, world!!\n"
@@ -0,0 +1 @@
pyyaml