1
0

windows build: workaround no longer needed with modern pip

upstream now carries our fix

ref https://github.com/spesmilo/electrum/issues/7739
ref https://github.com/pypa/distlib/pull/165
This commit is contained in:
SomberNight
2025-06-05 17:02:02 +00:00
parent d17c4beee9
commit 2543c85712

View File

@@ -100,13 +100,6 @@ for x in a.datas.copy():
a.datas.remove(x)
print('----> Removed x =', x)
# not reproducible (see #7739):
print("Removing *.dist-info/ from datas:")
for x in a.datas.copy():
if ".dist-info\\" in x[0].lower():
a.datas.remove(x)
print('----> Removed x =', x)
# hotfix for #3171 (pre-Win10 binaries)
a.binaries = [x for x in a.binaries if not x[1].lower().startswith(r'c:\windows')]