fixes https://github.com/spesmilo/electrum/issues/7393
also, merge sdist/build.sh and sdist/make_tgz into sdist/make_sdist.sh