Steve Dower | a535d68 | 2016-12-19 14:31:27 -0800 | [diff] [blame] | 1 | """distutils.command.bdist_wininst |
| 2 | |
| 3 | Suppresses the 'bdist_wininst' command, while still allowing |
| 4 | setuptools to import it without breaking.""" |
| 5 | |
| 6 | from distutils.core import Command |
| 7 | from distutils.errors import DistutilsPlatformError |
| 8 | |
| 9 | class bdist_wininst(Command): |
| 10 | description = "create an executable installer for MS Windows" |
| 11 | |
| 12 | def initialize_options(self): |
| 13 | pass |
| 14 | |
| 15 | def finalize_options(self): |
| 16 | pass |
| 17 | |
| 18 | def run(self): |
| 19 | raise DistutilsPlatformError("bdist_wininst is not supported " |
| 20 | "in this Python distribution") |