Why can I not create a wheel in python?

Here are the commands I am running:

    $ python setup.py bdist_wheel
    usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: setup.py --help [cmd1 cmd2 ...]
       or: setup.py --help-commands
       or: setup.py cmd --help

    error: invalid command 'bdist_wheel'

    $ pip --version
    pip 1.5.6 from /usr/local/lib/python3.4/site-packages (python 3.4)

    $ python -c "import setuptools; print(setuptools.__version__)"

    $ python --version
    Python 3.4.1

    $ which python

Also, I am running a mac with homebrewed python

Here is my setup.py script: https://gist.github.com/cloudformdesign/4791c46fe7cd52eb61cd

I'm going absolutely crazy -- I can't figure out why this wouldn't be working.

Install the wheel package first:

    pip install wheel

The documentation isn't overly clear on this, but _"the wheel project provides a bdistwheel command for setuptools" actually means "the wheel package...".

From: stackoverflow.com/q/26664102

Back to homepage or read more recommendations: