You should now prefer
wheel instead of
egg why ? (https://packaging.python.org/wheel_egg/)
And also, with the new pypi.io, you don’t really need to register your package, just go to the upload step. (https://github.com/pypa/twine/issues/200)
pip install wheel python setup.py sdist bdist_wheel # building wheel
Register (if needed; not needed for pypi.io)
twine register dist/...
twine upload dist/...<file .whl>