python setup.py sdist
(run from inside the root folder). This creates a directory called dist and builds your new package.
if needed set up virtual env first.
https://virtualenv.pypa.io/en/stable/
virtual ENV
source bin/activate
pip install --user path/to/moesifwsgi.tar.gz
to uninstall
pip uninstall moesifwsgi