Skip to content

Commit 22e5f95

Browse files
committed
dist: don't warn about missing DLLs that are a part of Windows
1 parent 30d8c90 commit 22e5f95

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

direct/src/dist/commands.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ def initialize_options(self):
265265
'dciman32.dll', 'comdlg32.dll', 'comctl32.dll', 'ole32.dll',
266266
'oleaut32.dll', 'gdiplus.dll', 'winmm.dll', 'iphlpapi.dll',
267267
'msvcrt.dll', 'kernelbase.dll', 'msimg32.dll', 'msacm32.dll',
268+
'setupapi.dll', 'version.dll',
268269

269270
# manylinux1/linux
270271
'libdl.so.*', 'libstdc++.so.*', 'libm.so.*', 'libgcc_s.so.*',
@@ -282,6 +283,12 @@ def initialize_options(self):
282283
'/usr/lib/libedit.*.dylib',
283284
'/System/Library/**',
284285
]
286+
287+
if sys.version_info >= (3, 5):
288+
# Python 3.5+ requires at least Windows Vista to run anyway, so we
289+
# shouldn't warn about DLLs that are shipped with Vista.
290+
self.exclude_dependencies += ['bcrypt.dll']
291+
285292
self.package_data_dirs = {}
286293

287294
# We keep track of the zip files we've opened.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy