summaryrefslogtreecommitdiffstats
path: root/PC/layout/main.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-01-08 23:35:01 (GMT)
committerGitHub <noreply@github.com>2021-01-08 23:35:01 (GMT)
commit0e2a0f72cc9af0899eacb5604e44a563c0b06110 (patch)
tree73587df57200aa0b1c7d4c4ce476a07dbea8d6e6 /PC/layout/main.py
parent68e1f259bee7723d63488854b69a4bef2b7e5db2 (diff)
downloadcpython-0e2a0f72cc9af0899eacb5604e44a563c0b06110.zip
cpython-0e2a0f72cc9af0899eacb5604e44a563c0b06110.tar.gz
cpython-0e2a0f72cc9af0899eacb5604e44a563c0b06110.tar.bz2
bpo-42802: Remove distutils bdist_wininst command (GH-24043)
The distutils bdist_wininst command deprecated in Python 3.8 has been removed. The distutils bidst_wheel command is now recommended to distribute binary packages on Windows. * Remove Lib/distutils/command/bdist_wininst.py * Remove PC/bdist_wininst/ project * Remove Lib/distutils/command/wininst-*.exe programs * Remove all references to bdist_wininst
Diffstat (limited to 'PC/layout/main.py')
-rw-r--r--PC/layout/main.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/PC/layout/main.py b/PC/layout/main.py
index 8c69c915..fb6f526 100644
--- a/PC/layout/main.py
+++ b/PC/layout/main.py
@@ -33,9 +33,6 @@ from .support.pip import *
from .support.props import *
from .support.nuspec import *
-BDIST_WININST_FILES_ONLY = FileNameSet("wininst-*", "bdist_wininst.py")
-BDIST_WININST_STUB = "PC/layout/support/distutils.command.bdist_wininst.py"
-
TEST_PYDS_ONLY = FileStemSet("xxlimited", "xxlimited_35", "_ctypes_test", "_test*")
TEST_DIRS_ONLY = FileNameSet("test", "tests")
@@ -100,17 +97,11 @@ def get_lib_layout(ns):
else:
if f in TCLTK_FILES_ONLY:
return ns.include_tcltk
- if f in BDIST_WININST_FILES_ONLY:
- return ns.include_bdist_wininst
return True
for dest, src in rglob(ns.source / "Lib", "**/*", _c):
yield dest, src
- if not ns.include_bdist_wininst:
- src = ns.source / BDIST_WININST_STUB
- yield Path("distutils/command/bdist_wininst.py"), src
-
def get_tcltk_lib(ns):
if not ns.include_tcltk: