echo DID YOU UPDATE THE CHANGELOG?
sudo python setup.py sdist #create the tar.gz version
sudo python setup.py egg_info #to upload info to pypi
sudo python setup.py bdist_egg #an egg file for distribution
#then handle the mac app bundle
rm psychopy/demos/*.pyc
rm psychopy/prefSite.cfg

sudo rm -r build
sudo rm -r dist/PsychoPy2.app
python setupApp.py py2app #don't run this as sudo
#so that user doesnt get /jwp/.psychopy for prefs
rm dist/PsychoPy2.app/Contents/Resources/lib/python2.5/psychopy/sitePrefs.cfg
sudo chmod -R g+w dist/PsychoPy2.app
