== bumping the version ==

*  jsonwidget/__init__.py
*  setup.py


== uploading to pypi ==

# Have a clean checkout so that the manifest wildcards don't pick up anything
# screwy
python setup.py sdist
# if all looks good, then upload:
python setup.py sdist upload -s


== Creating a .deb package ==

# Run the following commands:
export VERSION=(version you are packaging)
python setup.py sdist
cd dist
tar zxvf jsonwidget-${VERSION}.tar.gz
mv jsonwidget-${VERSION} python-jsonwidget-${VERSION}
cd python-jsonwidget-${VERSION}
# use "-uc -us" to skip signing
# -S is "source only"
dpkg-buildpackage -rfakeroot -S

== Uploading to the PPA ==

dput ppa:robla/ppa python-jsonwidget_${VERSION}_source.changes



== Generating a changelog ==

echo "python-jsonwidget (${VERSION}) karmic; urgency=low" > /tmp/changelog
echo >> /tmp/changelog
hg log -rtip:${LASTVERSION} --template '  * {desc}\n' >> /tmp/changelog
echo >> /tmp/changelog
echo " -- Rob Lanphier <robla@robla.net>  `date -R`" >> /tmp/changelog

