cd `dirname $0`
VERSION=`../mkversion` || exit 1
sed -e "s/#VERSION#/$VERSION/" setup.py.tmpl > setup.py
if [ -f confluent/client.py ]; then
    echo '__version__ = "'$VERSION'"' > confluent/__init__.py
fi
cp ../LICENSE .
echo $VERSION
