2016-02-27 Why setup.py bdist_wheel does not work?ΒΆ
I recently tried to build a wheel for a specific module:
python setup.py bdist_wheel
And it failed with the following error:
error: invalid command 'bdist_wheel'
The module wheel was installed,
setuptools was updated.
The issue was explained in
Why can I not create a wheel in python?.
There are two functions setup
, only the one from setuptools can build a wheel.
The file setup.py must be updated:
# from distutils.core import setup
from setuptools import setup