mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
bpo-34977: Add Windows App Store package (GH-10245)
This commit is contained in:
parent
c9566b8c45
commit
468a15aaf9
52 changed files with 3082 additions and 331 deletions
25
PC/layout/support/distutils.command.bdist_wininst.py
Normal file
25
PC/layout/support/distutils.command.bdist_wininst.py
Normal file
|
|
@ -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"
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue