diff options
author | Steve Dower <steve.dower@microsoft.com> | 2018-12-07 05:09:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-07 05:09:53 (GMT) |
commit | 253209149389e6793a052034e1f2d97691086f18 (patch) | |
tree | 21ebd5df1c2ce59a2d71a5d28ea879be7ad835a4 /PC/layout/support/distutils.command.bdist_wininst.py | |
parent | 72c71956cade606bd5500cf76d4d7c1d50a7ccae (diff) | |
download | cpython-253209149389e6793a052034e1f2d97691086f18.zip cpython-253209149389e6793a052034e1f2d97691086f18.tar.gz cpython-253209149389e6793a052034e1f2d97691086f18.tar.bz2 |
[3.7] bpo-34977: Add Windows App Store package (GH-10245)
Diffstat (limited to 'PC/layout/support/distutils.command.bdist_wininst.py')
-rw-r--r-- | PC/layout/support/distutils.command.bdist_wininst.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PC/layout/support/distutils.command.bdist_wininst.py b/PC/layout/support/distutils.command.bdist_wininst.py new file mode 100644 index 0000000..6e9b49f --- /dev/null +++ b/PC/layout/support/distutils.command.bdist_wininst.py @@ -0,0 +1,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" + ) |