git checkout devel
# make changes
git commit
git push
git checkout master
git merge devel
make sdist
git checkout devel #make sure to go back to devel to make changes
make sure ~/.pypirc
is setup correctly
[pypirc]
servers = pypi
[server-login]
username:<username>
password:<password>
then
python setup.py sdist upload