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