Support Wheel Distribution in Python

17 Aug 2014

Wheels are new Python binary distribution format, they are intended to replace eggs.

To support distributing wheel, there are a few things you need to do, first, make sure wheel is installed:

$ pip install wheel

Secondly, for a python-only and a 2-and-3 compatible project, you will need a setup.cfg file in the same directory as, with its contents as following:

universal = 1

Lastly, build your project with the following command:

$ python sdist bdist_wheel