Python: release-osx.sh script improvements