Tinypacman is a project mainly written in Python, it's free.
Simple script to install a set of softwares
Makefile script for sot2-py setup.
./bootstrap.py --src-root=$HOME/src/sotpy --prefix=$ROBOTPKG_BASE_UNSTABLE --openhrp-home=/opt/grx3.0/OpenHRP -l sotpylist.py
./boostrap.py --help for more information