diff --git a/Lib/distutils/command/__init__.py b/Lib/distutils/command/__init__.py index 95bce8d8c11..ef8e9ad6943 100644 --- a/Lib/distutils/command/__init__.py +++ b/Lib/distutils/command/__init__.py @@ -20,4 +20,5 @@ __all__ = ['build', 'bdist', 'bdist_dumb', 'bdist_rpm', + 'bdist_wininst', ] diff --git a/Lib/distutils/command/bdist.py b/Lib/distutils/command/bdist.py index 47d4cbc9652..3fcbf7793d4 100644 --- a/Lib/distutils/command/bdist.py +++ b/Lib/distutils/command/bdist.py @@ -55,6 +55,8 @@ class bdist (Command): 'ztar': ('bdist_dumb', "compressed tar file"), 'tar': ('bdist_dumb', "tar file"), 'zip': ('bdist_dumb', "ZIP file"), + 'wininst': ('bdist_wininst', + "Windows executable installer"), } # establish the preferred order format_commands = ['rpm', 'gztar', 'bztar', 'ztar', 'tar', 'zip']