mirror of
https://github.com/python/cpython.git
synced 2025-10-31 21:51:50 +00:00
bpo-34977: Add Windows App Store package (GH-11027)
Also adds the PC/layout script for generating layouts on Windows.
This commit is contained in:
parent
1c3de541e6
commit
0cd6391fd8
47 changed files with 2899 additions and 405 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