Even once you've figured out the intricacies of Python packaging and figure out why its a good idea to use twine, its still nice to have a few convenience tools to make using it easier.
The pypackage.sh
file should be placed in ~/.scripts
as ~/.scripts/pypackage
and then in your ~/.bash_profile
you should have export PATH="$HOME/.scripts:$PATH"
so that it can be found from the command line. You can also place the function from the other file into you ~/.bash_profile
as an easy way to test the pip-install-ability from the pypi test server.