#!/bin/bash
[% c("var/set_default_env") -%]

tar -xf [% project %]-[% c('version') %].tar.[% c('compress_tar') %]

mkdir -p /var/tmp/dist/
cd /var/tmp/dist/

cp -a $rootdir/[% project %]*/[% project %].py ./[% project %].py

[% c('tar', {
        tar_src => '.',
        tar_args => '-caf ' _ dest_dir _ '/' _ c('filename'),
        }) %]
