= Install Package = install a `.pkg` file to the robot (via SFTP and `PackageManager` service) run simply as {{{ ./install_pkg.py new_app-0.0.1.pkg }}} during the development usually run via `Makefile` as {{{ cd myapps/new_app make -f ../Makefile pkg install }}} where the `Makefile` contains (it calls `qipkg` from [http://doc.aldebaran.com/qibuild/beginner/getting_started.html qiBuild], see InstallationInstructions): {{{#!make BASE_DIR=$(HOME)/src/pepper INSTALL_PKG=$(BASE_DIR)/bin/install_pkg.py MYAPPS_DIR=$(BASE_DIR)/myapps pkg: pkgname=$(wildcard *.pml); \ if [ -z "$$pkgname" ]; then \ echo "I need a .pml file here"; \ exit 1; \ fi; \ basename="`basename -s .pml $$pkgname`"; \ rm -fv $$basename*.pkg; \ qipkg bump-version manifest.xml; \ qipkg make-package $$pkgname; \ mv -v $$basename*.pkg $(MYAPPS_DIR) install: pkgname=$(wildcard *.pml); \ if [ -z "$$pkgname" ]; then \ echo "I need a .pml file here"; \ exit 1; \ fi; \ basename="`basename -s .pml $$pkgname`"; \ pkgfile="`ls -t $(MYAPPS_DIR)/$$basename*pkg|head -n1`"; \ if [ -z "$$pkgfile" ]; then \ echo "Package file for $$basename not found in $(MYAPPS_DIR)"; \ exit 1; \ fi; \ $(INSTALL_PKG) $$pkgfile }}} The application directory must contain `manifest.xml` and `new_app.pml` descriptions. == Installation == No special installation is needed, just download from [https://gitlab.fi.muni.cz/nlp/pepper-shell-tools/blob/master/bin/install_pkg.py gitlab] and run.