mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Issue #28783: Replaces bdist_wininst in nuget packages with stub
This commit is contained in:
parent
8b58339eb2
commit
e711cc0f22
3 changed files with 22 additions and 38 deletions
20
Tools/msi/distutils.command.bdist_wininst.py
Normal file
20
Tools/msi/distutils.command.bdist_wininst.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
"""distutils.command.bdist_wininst
|
||||
|
||||
Suppresses 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"
|
||||
|
||||
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