Install packages.
$ pip install wheel twine
Prepare the environment file .pypirc on your HOME directory.
Clear the former build files
$ rm -rf quantpy.egg-info/ dist/
Build the release files
$ python setup.py sdist $ python setup.py bdist_wheel
$ twine upload --repository pypi dist/*
$ pip --no-cache-dir install --upgrade quantpy