summaryrefslogtreecommitdiffstats
path: root/PC/layout/support/distutils.command.bdist_wininst.py
blob: 6e9b49fe42df61bd34e57b97c54b1cd05a7f8766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
"""distutils.command.bdist_wininst

Suppress the 'bdist_wininst' command, while still allowing
setuptools to import it without breaking."""

from distutils.core import Command
from distutils.errors import DistutilsPlatformError


class bdist_wininst(Command):
    description = "create an executable installer for MS Windows"

    # Marker for tests that we have the unsupported bdist_wininst
    _unsupported = True

    def initialize_options(self):
        pass

    def finalize_options(self):
        pass

    def run(self):
        raise DistutilsPlatformError(
            "bdist_wininst is not supported in this Python distribution"
        )