Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Lib/distutils/dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,13 @@ def get_command_class(self, command):
self.cmdclass[command] = klass
return klass

if command == "bdist_wheel":
help_url = "https://packaging.python.org/tutorials/distributing-packages/#wheels"
raise DistutilsModuleError("invalid command '%s'\nnote: The wheel "
"package provides this command. See "
"%s for information on packaging wheels"
% (command, help_url))

raise DistutilsModuleError("invalid command '%s'" % command)

def get_command_obj(self, command, create=1):
Expand Down